Yuri D'Elia
8d9d367d6b
Implement Timer::expired_cont()
...
Returns true if the timer is not running, effectively allowing to check
if a certain set time in the future has passed.
2022-07-25 17:30:22 +02:00
Alex Voinea
cac2b9ae40
Implement timer elapsed function
...
also fix build
2022-07-04 18:05:49 +02:00
D.R.racer
31951fe8c9
Code refactoring
...
Motivation:
- save some RAM joining the autoreport flags into 1 byte
- encapsulate the magic of setting bit masks/features into a class with
a stable public interface
2021-01-20 11:46:25 +01:00
Marek Bel
490f0c9620
Store timer period in TimerRemaining.
2018-06-11 23:41:36 +02:00
Marek Bel
9772905ade
Add TimerRemaining class.
2018-06-11 21:19:58 +02:00
Marek Bel
eb1d17c3c6
Compile without c++11.
2018-06-05 21:55:54 +02:00
Marek Bel
7cc8b743c2
Add .gitignore. Setup doxyfile. Create project documentation main page. Document property of static object constructors on gcc-avr.
2018-06-05 18:30:02 +02:00
Marek Bel
02ecd08786
Convert Time class to template, instantiate LongTimer for longer and ShortTimer for shorter periods.
2018-05-11 16:31:42 +02:00
Marek Bel
6b08cdeaf1
Safety timer (disable heaters after 15min idle)
2018-03-12 23:45:10 +01:00