This class can be used for uploading sketches to an Arduino from SuperCollider via the soundcard. No FTDI chip needed! It's a very cheap way to program barebone arduino boards.
avrdude -v -p m168 -b 115200 -P /dev/tty.PL2303-000013FA -c stk500v2 -U flash:w:/Users/asdf/AudioBoot_V2_0/Atmega_Source/chAudioBoot_ATMEGA168_IN_PD1_LED_PB5.hex -U lfuse:w:0xE2:m -U hfuse:w:0xDF:m -U efuse:w:0xFA:m
create a new instance and read a hex file.
read a hex file.
starts the server and the upload process.
server |
if nil then the Server.default will be used. |
out |
which audio bus to play to. note: can also be an Array. |
amp |
amplitude |
After a successful read, this holds an instance of RedIntelHex.