Commit Graph

17 Commits

Author SHA1 Message Date
Markus Koch 09bc6979e9 Implement switches and rotary encoder 2020-07-27 21:39:29 +02:00
Markus Koch 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
Markus Koch 633d2d0fe2 fw: Implement display output 2020-07-19 18:40:44 +02:00
Markus Koch 69cb74b8dc sw: Increase framerate to 25 fps 2020-07-19 18:39:16 +02:00
Markus Koch a618fff822 sw: Implement SPI transmissions 2020-07-19 18:39:01 +02:00
Markus Koch a8d947544b sw: Allow empty duration 2020-07-19 18:38:06 +02:00
Markus Koch 7efac00348 sw: Allow empty artist 2020-07-19 18:37:48 +02:00
Markus Koch 1cbc6063d6 Merge branch 'master' of git.notsyncing.net:electronics/webradio 2020-07-19 16:18:33 +02:00
Markus Koch 368ceb4373 Fix jumpy text
Fixes #2.
2020-07-13 18:10:48 +02:00
Markus Koch 61a1ae5dc8 Add firmware template 2020-07-11 12:41:08 +02:00
Markus Koch eb968ec16f Return image data fram get_image() 2020-07-05 20:09:31 +02:00
Markus Koch 56b1f3c6e4 Query MPD every 500 ms 2020-07-05 20:06:20 +02:00
Markus Koch a95b140164 Remove zombie function 2020-07-05 20:06:05 +02:00
Markus Koch c43bfe425e Improve bar layout 2020-07-05 19:42:30 +02:00
Markus Koch a3f12aa96b Prerender text and blit to correct position
Fixes #1.
2020-07-05 19:31:07 +02:00
Markus Koch 34592b6060 Add initial display renderer 2020-07-05 17:45:52 +02:00
Markus Koch c47ce44a44 Initial commit 2020-07-05 17:42:40 +02:00