Python RGB Matrix games and animations https://www.xythobuz.de/ledmatrix_v2.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

copy.sh 829B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/bin/bash
  2. if [ $# -ne 0 ] ; then
  3. cat << EOF | rshell
  4. cp config.py /pyboard
  5. cp pico.py /pyboard
  6. cp pico_ota.py /pyboard
  7. cp util.py /pyboard
  8. cp manager.py /pyboard
  9. cp mapper.py /pyboard
  10. cp net.py /pyboard
  11. cp solid.py /pyboard
  12. cp splash.py /pyboard
  13. cp life.py /pyboard
  14. cp qr.py /pyboard
  15. cp camp_pico.py /pyboard
  16. cp scroll.py /pyboard
  17. cp telegram.py /pyboard
  18. cp qr_tmp.py /pyboard
  19. cp img_tmp.py /pyboard
  20. cp $1 /pyboard/main.py
  21. EOF
  22. else
  23. cat << EOF | rshell
  24. rm /pyboard/main.py
  25. cp config.py /pyboard
  26. cp pico.py /pyboard
  27. cp pico_ota.py /pyboard
  28. cp util.py /pyboard
  29. cp manager.py /pyboard
  30. cp mapper.py /pyboard
  31. cp net.py /pyboard
  32. cp solid.py /pyboard
  33. cp splash.py /pyboard
  34. cp life.py /pyboard
  35. cp qr.py /pyboard
  36. cp camp_pico.py /pyboard
  37. cp scroll.py /pyboard
  38. cp telegram.py /pyboard
  39. cp qr_tmp.py /pyboard
  40. cp img_tmp.py /pyboard
  41. EOF
  42. fi