of course what my Raspberry Pi LED persistence-of-vision bikewheel written in Rust needs is a plugin system
Shall I gratuitously solder a rotary encoder onto this entirely web controlled device / NO / let's take this device somewhere without network how will I control it?
Playing with Julia programming language to implement a new LED pattern.
The version that gets installed on my Pi Zero is way out of date...
... but luckily I implemented an ASCII network protocol when I wanted to be able to try out Unison, so I can reuse that here:
send 50 x RGB hex values and a newline to stdout, pipe it into netcat, and the LEDs are updated.
Unexpected field extension of ℝ
> TypeError: '>' not supported between instances of 'float' and 'complex'
This code is just meant to make LEDs flash pretty colours and now I have to debug how it's getting complex numbers... something to do with negative time by the looks of it.
I found this API https://nina.api.bund.dev/ to the German national alert system - a bit too late to see what it looked like on the annual test.
But I wonder how often I'm meant to poll it without making anyone mad?
The cache headers say the alert list is valid for 10 years, which is probably wrong, given that official apps talk of alerts within 1 minute.
I have all these network connected RGB LEDs, you see, with the emphasis in this case on the R component.
I really would like an ADC on my Pi Zero to measure battery voltage, but every time I look, I end up thinking the cheapest option is to buy a Pi Pico and use that as the ADC. At which point I get lost wondering if I should port the whole project to run on just a Pico, instead of having both a Zero and a Pico, and then I give up for another few months.
Hi.
I'm Ben.
For fun I ride my bike around Berlin and build pretty things with LEDs and microcontrollers.
I'm also interested in programming language design/theory stuff.
I help with a refugee reception volunteer group in Berlin for people arriving from Ukraine.
I like dogs.
http://www.hawaga.org.uk/ben/
https://github.com/benclifford
https://twitter.com/benclifford