Skip to content

Commit

Permalink
Update Character_Colour_Clock_V087tiny.ino
Browse files Browse the repository at this point in the history
Added  Displaytime(); in EveryDayUpdate()                                                                               Needed for HET IS MIDDERNACHT en HET IS NOEN
  • Loading branch information
ednieuw authored Jun 16, 2023
1 parent 2c1ce15 commit 578428f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Changes: V085 DimLeds() between 0 and 1023 indtead of betwen 0 and 255
Changes: V086 DCF defines corrected to compile without errors
Corrected bug in colouring seconds and flickering between minutes
Cleaned up code. Removed DCFNointerrupt
Changes: V087tiny
Changes: V087 Tiny version. Added Displaytime() in Every Day update
add in Additional boards URL
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
Expand Down Expand Up @@ -581,8 +581,9 @@ void EveryDayUpdate(void)
Previous_LDR_read = analogRead(PhotoCellPin); // to have a start value
MinPhotocell = Previous_LDR_read; // Stores minimum reading of photocell;
MaxPhotocell = Previous_LDR_read; // Stores maximum reading of photocell;
EEPROM.put(0,Mem); // This function uses EEPROM.update() to perform the write, so does not rewrites the value if it didn't change
EEPROM.put(0,Mem); // This function uses EEPROM.update() to perform the write, so does not rewrites the value if it didn't change
}
Displaytime(); // Needed for HET IS MIDDERNACHT en HET IS NOEN
}
//------------------------------------------------------------------------------
// ARDUINO Reset to default settings
Expand Down

0 comments on commit 578428f

Please sign in to comment.