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:mCreate 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. |
| silenceBetweenPages |
Gap in seconds. |
| startSequencePulses |
Pulses in the beginning. |
| manchesterNumberOfSamplesPerBit |
Samples per bit. |
After a successful read, this holds an instance of RedIntelHex.