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 733B

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