Displays flags from the F1 23 game on Pimoroni Cosmic Unicorn
⚠️ This is incomplete and has major issues! There are currently two different modes with their own issues, read about them in the Control section.
demo.mp4
To configure the application, create a copy of config.example.json
and name it config.json
. Then, update the WiFi credentials inside the file.
This part is probably the most tricky one, and will require some trial and error. You need to move every python file to the raspberry pi.
I've had success with use mpbridge
After you've moved the files, the main.py
file should execute automatically on reboot.
You can adjust the brightness with the "LUX" buttons, and set the display to sleep with the "Zzz" button.
To switch mode press any of the "Program" buttons.
This mode handles the connection and rendering asynchronously, which means smoother animations, that don't get stuck at specific frames. The tradeoff is that it drops a lot of events, which eg. causes the "lights outs" effect to lag and stutter.
This mode handles the connection and rendering synchronously, which means that it doesn't drop any events, but the animations are not as smooth, and pauses if the connection (eg. the game) pauses.
It's also not possible to control anything while this mode is running, so you need to reset the device to switch back to the menu.
Cycle through all the flags, and display them for 5 seconds each.
Returns to the menu.