Commit Graph

465 Commits

Author SHA1 Message Date
ollo
d25d3d55a7 More local variables; ~ 2k more RAM 2016-06-19 15:57:57 +02:00
ollo
1c0b5883b9 Work more with even less memory! what a terrible world :-/ 2016-06-19 00:50:18 +02:00
ollo
27ca03878c Timezone calculation ony once 2016-06-19 00:34:30 +02:00
ollo
7140717696 Added time synchronization again 2016-06-19 00:30:09 +02:00
ollo
6874d1545b The code is compiled 2016-06-19 00:08:21 +02:00
ollo
58eed3bef5 cleanup 2016-06-18 23:20:24 +02:00
ollo
4a97dbe0ca So so so! Clean code 2016-06-18 23:19:39 +02:00
ollo
fc8ddab368 Webserver is included into the autostart 2016-06-18 19:46:23 +02:00
ollo
3e5327447b Integrated the configuration generation 2016-06-18 19:35:22 +02:00
ollo
bab4c89d7b Added Boot snake 2016-06-18 19:12:31 +02:00
ollo
07852a6f25 Added Firmware from https://github.com/C3MA/ws2812-clock 2016-06-18 19:11:52 +02:00
ollo
c19d33d24f Color can be set externally 2016-06-18 17:07:49 +02:00
ollo
16b9675a4b Moved logic into seperate file 2016-06-15 21:24:40 +02:00
ollo
0c8ab7155f LEDs are controlled 2016-06-07 23:30:13 +02:00
ollo
b252453f1e Extracted LED generation into seperate function 2016-05-22 15:31:43 +02:00
ollo
309641c023 Merge branch 'master' of https://github.com/0110/Wordclock 2016-05-18 23:06:24 +02:00
ollo
61c97d7a20 When minute4 is reached, all LEDs are set to zero 2016-05-18 23:06:19 +02:00
ollo
67434714ee Integrated wordclock into main 2016-05-18 22:50:56 +02:00
C3MA
53477902c2 Removed unused stuff 2016-05-18 22:25:22 +02:00
ollo
c431d93895 NTP integrated 2016-05-16 13:54:42 +02:00
ollo
1c7f3156ad Prepared main module 2016-05-16 11:15:48 +02:00
ollo
2c652c68dc Exclude the new testscript, as it is always generated with the same test values and must not stored therefore 2016-05-15 23:00:18 +02:00
ollo
1f73de74d2 Updated code after executing new testscript 2016-05-15 22:59:17 +02:00
ollo
8c81a73af9 New test script to generate all minutes and seconds for the last week in March and October 2016-05-15 22:58:10 +02:00
ollo
20171cfc48 Cleanup started 2016-05-15 18:16:52 +02:00
ollo
4de0b20d37 Added new function returing the current time for a given timezone also handling the summer and winter time 2016-05-15 17:31:22 +02:00
ollo
27dcb5e2fb Removed no longer used functions 2016-05-15 17:29:00 +02:00
ollo
591f0f496a Refactoring the summer time function needs an struct as parameter instead of each time variable on its own 2016-05-15 17:27:24 +02:00
ollo
7df7c53159 The function getUTCtime returns a struct'time' instead of all values seperatly 2016-05-15 16:37:55 +02:00
ollo
b441e62a4d Successfully tested unixtimestamp to UTC time convertion 2016-05-15 16:21:16 +02:00
ollo
34e3f1a78e Renamed test for wordclock 2016-05-15 16:16:45 +02:00
ollo
6f77b7fa0a Tweaked some user output 2016-05-15 16:06:09 +02:00
ollo
b1f70fdc9f Added some documentation for this folder; Updated the tests up to 2020 (testTimes.lua) to the new interface for summer and winter time calculation 2016-05-15 16:05:43 +02:00
ollo
7dabbb241c Added some comments for doxygen 2016-05-15 15:46:00 +02:00
ollo
8bb594d190 Refactored summer-time calcuating function. Now, only the state summertime or wintertime is returned 2016-05-15 15:44:19 +02:00
ollo
4793f3fe0e Removed unused code 2016-05-14 23:35:59 +02:00
ollo
3deaea6709 Fixed leap time calculation; tested unixtimestamp convertion for the years 2016 to 2020 2016-05-14 23:28:20 +02:00
ollo
2dccb0e09a Integrated unixtime to year, month, day, hour, minute, second, dayofweek convertion into the timecore module 2016-05-14 12:25:55 +02:00
ollo
20d367005d Moved around the firmware 2016-05-14 12:14:48 +02:00
ollo
4d661aaff4 Added month and day calculation 2016-05-14 00:22:47 +02:00
ollo
c109fe41f8 NTP test 2016-05-04 23:23:49 +02:00
ollo
a822ad20a9 New Operating system with SNTP integrated 2016-05-02 17:27:01 +02:00
ollo
1fe0a2b80c Minute 1 to 4 are also correctly set, next to the displayed logic 2016-04-20 17:51:28 +02:00
ollo
bf3304cc38 Merge branch 'master' of https://github.com/0110/Wordclock 2016-04-20 17:41:41 +02:00
C3MA
9f79147c78 Included some units tests 2016-04-19 20:56:45 +02:00
C3MA
0b124d559a Included the Wordclock logic 2016-04-19 18:25:41 +02:00
ollo
a56817c018 Typo fixed 2016-04-17 16:21:01 +02:00
ollo
58f8779cd1 All summer and winter time is correctly generated. (Tested up to 2100) 2016-04-17 16:16:17 +02:00
ollo
f6c675aae7 We need each hour at least once, not the first 24 minutes 2016-04-17 16:07:51 +02:00
ollo
69245dcb5b Renamed LUA script 2016-04-17 15:53:16 +02:00