1
Commit Graph

11 Commits

Author SHA1 Message Date
eleksir
ea293ec335 Implement ISR and timers
* Poll RTC by trigger, set via ISR
* Change blink state by trigger, set via ISR
* Set time compensation trigger in ISR
* Refresh clock by timer
* Poll photoresistor by same timer as above
* Stop continuously calculate brightness, do it by the same timer as above
2019-07-27 15:34:03 +03:00
eleksir
732ade0819 Add ability to correct 0.5 second per day
+ Added ability to fix timw skew of 1 second per two
   days
* Removed text of license as it shipped as file
* Fixed some grammar mistekes
* compflag now boolean
* Coding style fixes
* Tinker a bit values for brightness, again. Make display
   more dusk.

--HG--
branch : phtoresistor
2019-06-02 15:06:04 +03:00
eleksir
352dc5fa4c Added photoresistor and amb. light compensation
+ Added ambient light compensation logic
+ Added photocell on scheme
+ Added photoresitor to README.md

--HG--
branch : phtoresistor
2019-05-21 16:00:01 +03:00
eleksir
be82b11537 Time adjust algo changed
+ Added 600ms pause before spin numbers if button pressed
* Changed increment delay 500ms -> 200ms
* Button bounce compensation code
2019-05-14 20:52:37 +03:00
eleksir
757210bfc5 Now compensation hack should work. 2019-05-12 07:55:17 +03:00
eleksir
2900e78ca4 Bits of cleanup, fix indentaion and coding style 2019-05-12 07:52:44 +03:00
eleksir
825c3096f2 Implement software time inaccuracy compensation hack
32768 Hz quartz chrystal resonator tends to be a bit inaccurate giving
about 5-10 seconds per day time skew
2019-04-20 12:04:05 +03:00
eleksir
f46a294535 Converted to unix EOL file 2019-04-20 11:52:00 +03:00
eleksir
f18e0a1166 Make it possible to display time without explicit leading zeroes 2019-03-01 01:27:07 +03:00
eleksir
3ec5b5fa6a Fix visual bug on 0 o'clock
* fix visual bug on 0 o'clock
* move some variables to global scope
* remove float number - reduce binary size
2019-02-24 03:13:45 +03:00
eleksir
663093b32a Initial commit 2019-02-23 19:01:52 +03:00