Commit Graph

31 Commits

Author SHA1 Message Date
1b1d3a14d6 fw: Invert polarity of SBCMON pin 2020-07-31 19:18:26 +02:00
6ae88b0101 fw: Implement SBC controls 2020-07-31 19:07:11 +02:00
a396052487 fw: Implement power-on battery check 2020-07-31 18:23:58 +02:00
b4cfb40bb7 fw: Fix battery voltage calculation 2020-07-31 18:23:39 +02:00
0e5e87af7c fw: Export post() PM function 2020-07-30 21:42:09 +02:00
eed5435335 fw: Implement main loop scheduler 2020-07-30 21:41:50 +02:00
e4afc61eba fw: Remove unused variable 2020-07-30 21:41:32 +02:00
86b6b0897a fw: Fix debouncing for rotary encoder 2020-07-30 21:41:22 +02:00
ba069861ff fw: Implement better battery voltage monitoring 2020-07-30 21:40:57 +02:00
e26471381a fw: Implement power management 2020-07-30 20:05:09 +02:00
9e9e2ff5c4 fw: Implement battery voltage readout 2020-07-30 17:11:48 +02:00
475c9cdd4a fw: Fix noisy picture?
Had noise artifacts on the OLED display... and for some reason,
this commit fixes it. But, I mean, WTF?!
2020-07-30 16:23:23 +02:00
1eaa9c3c38 Introduce I/O transactions at a slower clock speed 2020-07-28 21:55:33 +02:00
c618e058dd Return switch and decoder values over SPI 2020-07-28 21:54:20 +02:00
09bc6979e9 Implement switches and rotary encoder 2020-07-27 21:39:29 +02:00
f71c65106f fw: Only update display if a full frame was received
Sometimes, the RPi fails to send out a message in time, leading
to two, back-to-back SPI transactions. The beginning of the second
is then lost in the long lcd_display() call. By applying this
patch, we now miss the incomplete frame entirely, but at least we
don't display garbage on the screen. Just looks like stutter.

The real solution would be to fix in on the Linux / Python side,
but this workaround is better than nothing for now.
2020-07-19 21:20:30 +02:00
633d2d0fe2 fw: Implement display output 2020-07-19 18:40:44 +02:00
69cb74b8dc sw: Increase framerate to 25 fps 2020-07-19 18:39:16 +02:00
a618fff822 sw: Implement SPI transmissions 2020-07-19 18:39:01 +02:00
a8d947544b sw: Allow empty duration 2020-07-19 18:38:06 +02:00
7efac00348 sw: Allow empty artist 2020-07-19 18:37:48 +02:00
1cbc6063d6 Merge branch 'master' of git.notsyncing.net:electronics/webradio 2020-07-19 16:18:33 +02:00
368ceb4373 Fix jumpy text
Fixes #2.
2020-07-13 18:10:48 +02:00
61a1ae5dc8 Add firmware template 2020-07-11 12:41:08 +02:00
eb968ec16f Return image data fram get_image() 2020-07-05 20:09:31 +02:00
56b1f3c6e4 Query MPD every 500 ms 2020-07-05 20:06:20 +02:00
a95b140164 Remove zombie function 2020-07-05 20:06:05 +02:00
c43bfe425e Improve bar layout 2020-07-05 19:42:30 +02:00
a3f12aa96b Prerender text and blit to correct position
Fixes #1.
2020-07-05 19:31:07 +02:00
34592b6060 Add initial display renderer 2020-07-05 17:45:52 +02:00
c47ce44a44 Initial commit 2020-07-05 17:42:40 +02:00