Skip to content

Commit

Permalink
new graphics, menu for europe
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Williams committed Apr 12, 2024
1 parent b377224 commit 70ddf3f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions source/flash
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash
while true
do
if [ -e /dev/ttyACM0 ]
then
echo "Flashing"
mpremote cp supercon_menu.py :
mpremote cp splash_2024.jpg :
mpremote cp splash_europe.jpg :
mpremote reset
echo "Done"
sleep 8
fi
while [ -d /dev/ttyACM0 ]
do
true
done
done

Binary file added source/splash_2024.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/splash_europe.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion source/supercon_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async def vos_main():
machine.Pin(22, machine.Pin.OUT).toggle()

screen=vectoros.get_screen()
splashes = ["splash_x.jpg", "splash_7.jpg", "splash_wrencher.jpg"]
splashes = ["splash_europe.jpg", "splash_2024.jpg", "splash_wrencher.jpg"]
screen.jpg(random.choice(splashes))
await asyncio.sleep_ms(1000)

Expand Down

0 comments on commit 70ddf3f

Please sign in to comment.