Commit Graph

53 Commits

Author SHA1 Message Date
7c1cae8d17 Implement Like-function 2020-10-30 12:53:24 +01:00
8003bfa9d8 sw: Use long press to append to playlist 2020-08-23 14:15:10 +02:00
1d9321501a Add function to add a top-level directory 2020-08-23 14:10:28 +02:00
12a4f1c671 Implement playlist selection 2020-08-21 11:38:38 +02:00
82614c65d7 fw: Implement charging indicator 2020-08-09 12:14:21 +02:00
859c898d8a sw: Add shutdown screen 2020-08-08 19:33:03 +02:00
66031c1389 fw: Adapt SBCMON to new hardware 2020-08-08 19:20:24 +02:00
47871af56e cfg: Add proper audio DAC and gpio-poweroff 2020-08-08 18:31:39 +02:00
fa50e271a6 sw: Implement livetime for screens
Also, implement volume screen.
2020-08-08 18:18:22 +02:00
69ae7e5d42 sw: Implement text centering and fix short text 2020-08-08 18:17:10 +02:00
91af51f51b sw: Move bar_redraw variable where it belongs 2020-08-08 18:16:47 +02:00
8fec7fbc8b fw: Fix rotary input
Accidentally disabled pull-ups instead of enabling them.
2020-08-08 17:27:49 +02:00
c4c6446d16 sw: Implement rotary encoder for volume 2020-08-08 17:27:17 +02:00
577ba83a58 fw: Render display immediately after the last byte has been received 2020-08-08 16:54:51 +02:00
87b3bf280f fw: Adapt I/O pins to new hardware 2020-08-08 16:54:23 +02:00
c6ff3c4923 fw: Add proper battery level thresholds 2020-08-08 16:53:48 +02:00
4276e9a9cf sw: Connect to localhost 2020-08-08 16:53:11 +02:00
f369f88899 sw: Implement preliminary key press handlers 2020-08-08 16:52:57 +02:00
b92eb13f76 sw: Add delay_usecs to avoid packet loss for slow SPI commands 2020-08-08 16:51:54 +02:00
c3bca0eba6 sw: Increase I/O timings 2020-08-08 16:49:31 +02:00
cec6bd2c0b des: Do not wait for SBC at boot
Waiting here may cause the controller to "freeze" in an
active state, draining the battery.
2020-07-31 20:49:40 +02:00
17b911ff8e cfg: Add raspi config.txt 2020-07-31 19:18:48 +02:00
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