User Interface Demonstration from Charles Holbrow on Vimeo.
put_char
and get_char
methods for the hello.ftdi.44.echo.c example. I had to add cli();
and sei();
inside both methods so that the audio sample firing approximately every 1000 clock cycles wouldn't interrupt the serial communication
serialPort.write(10); // wrong!!
serialPort.write(String.fromCharCode(10)); // correct
Another issue I ran into: I assumed that data in rs-232 contains 8 bits of. I think that it actually only support 7 bits of meaningful data -- perhaps for the same reasons as 7-bit MIDI data.