Commit graph

16 commits

Author SHA1 Message Date
fruchti 19a78f2527 Use default 8 MHz clock, disable PLL
Reducing the frequency to one sixth increases flickering somewhat, but
it's not too bad. More importantly, the current draw (at 5 V) at the
lowest brightness settings (all LEDs white) is reduced from 13 mA to
about 3 mA.
2020-07-16 16:17:35 +02:00
fruchti 8c3bc4222c Tune light sensor parameters 2020-07-16 16:14:43 +02:00
fruchti 8c3a471aba Make brightness depend ~linearly on photocurrent 2020-07-15 22:47:55 +02:00
fruchti fe246bfa6d Use averaged brightness for limit calculation 2020-07-15 22:44:20 +02:00
fruchti ccfdd7aeab Clean up uniform brightness setting 2020-07-15 22:29:34 +02:00
fruchti fc5f7caa14 Set matrix column output speed 2020-07-15 22:27:00 +02:00
fruchti 863a720749 Poll light sensor during startup delay 2020-07-15 15:07:03 +02:00
fruchti d2557e969d Reset row shift register immediately after reset 2020-07-15 15:05:09 +02:00
fruchti 75d280c8ea Remove maximum/minimum brightness decay 2020-07-15 14:07:07 +02:00
fruchti 6d63b76a02 Add basic time-based light sensor code 2020-07-11 21:04:07 +02:00
fruchti fff3b133c1 Add meaningful colour struct, double buffering 2019-12-22 22:52:01 +01:00
fruchti bc062dac9b Add LED matrix control (12×8) 2019-12-22 22:04:05 +01:00
fruchti dc3ce3a777 Increase number of LEDs to 12
Caution: Disables SWD, makes flashing under reset necessary.
2019-12-22 19:42:18 +01:00
fruchti 8891670bb7 Invert LED outputs, set to open drain 2019-12-22 19:05:46 +01:00
fruchti fe7a2f1869 Add basic 9-channel BCM output 2019-12-21 23:41:19 +01:00
fruchti 66381c3cb6 Add firmware wireframe 2019-12-10 23:19:01 +01:00