The Pi is connected to a Teensy 3.2. From the pi home directory I can upload a hex file like so:
./teensy_loader_cli -mmcu=mk20dx256 -w -v blink_slow_Teensy32.hex
I have also installed PlatformIO, which claims to make CLI programming of 250 different boards easy.
sudo python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/develop/scripts/get-platformio.py)"
the first platformio examples were for teensy (yes!)
platformio init --board teensy31
cp ~/LEDWall/Teensy/basicTest/basicTest.ino ~/src
platformio run -t upload
note the first init, run, and upload are long waits while the ecosystem downloads all the right drivers and libraries and sings a song and paints a happy picture with happy trees and !@#*($!AAUAAAGH anways…
src should be wiped clean between projects or it might get confused which script you want to upload.
FWIW, I left https://github.com/i-make-robots/LEDWall/blob/master/Teensy/simpleShapes/simpleShapes.ino installed on the wall.
Inotools and teensy_loader_cli has been removed.
NMAP is no longer needed. I found that the wall appears on the network as raspberrypi.vanhack.ca.
Some demos I’d like to see:
- THE MATRIX green lines
- winter fireplace + log
- SHHH displaying hashtagged tweets
- 3d animations