11
2-
32[ ![ Arduino CI] ( https://github.com/RobTillaart/CountDown/workflows/Arduino%20CI/badge.svg )] ( https://github.com/marketplace/actions/arduino_ci )
3+ [ ![ Arduino-lint] ( https://github.com/RobTillaart/CountDown/actions/workflows/arduino-lint.yml/badge.svg )] ( https://github.com/RobTillaart/CountDown/actions/workflows/arduino-lint.yml )
4+ [ ![ JSON check] ( https://github.com/RobTillaart/CountDown/actions/workflows/jsoncheck.yml/badge.svg )] ( https://github.com/RobTillaart/CountDown/actions/workflows/jsoncheck.yml )
45[ ![ License: MIT] ( https://img.shields.io/badge/license-MIT-green.svg )] ( https://github.com/RobTillaart/CountDown/blob/master/LICENSE )
56[ ![ GitHub release] ( https://img.shields.io/github/release/RobTillaart/CountDown.svg?maxAge=3600 )] ( https://github.com/RobTillaart/CountDown/releases )
67
@@ -26,9 +27,9 @@ For longer periods one could cascade countDown, so when one is finished the next
2627
2728The main functions of the CountDown clock are:
2829
29- - ** bool start(ticks)**
30- - ** bool start(days, hours, minutes, seconds)**
31- - ** bool start(days, hours, minutes)**
30+ - ** bool start(uint32_t ticks)**
31+ - ** bool start(uint8_t days, uint16_t hours, uint32_t minutes, uint32_t seconds)**
32+ - ** bool start(uint8_t days, uint16_t hours, uint32_t minutes)**
3233- ** void stop()**
3334- ** void cont()** * (continue is a C-Keyword)*
3435- ** uint32_t remaining()**
@@ -51,7 +52,7 @@ If there is an overflow it returns false
5152
5253Total amount of time to countdown for ** CountDown::MICROS** may not exceed 2\^ 32 micros ~ 1 hour 10 minutes.
5354Total amount of time to countdown for ** CountDown::MILLIS** , ** CountDown::SECONDS** and ** CountDown::MINUTES**
54- may not exceed 2\^ 32 millis ~ 49 days
55+ may not exceed 2\^ 32 milliseconds ~ 49 days
5556
5657
5758The function ** start(days, hours, minutes)** is new since 0.2.2.
@@ -85,3 +86,10 @@ the user must press a button at least once per minute to show he is still
8586awake.
8687
8788
89+ ## Future
90+
91+ - incorporate a real time clock? or EEPROM to be reboot proof?
92+ - examples with visualisations (e.g. hexadecimal countdown)
93+ - Countdown based upon external pulses
94+ - uint64_t version ==> ** CountDown64** class?
95+
0 commit comments