Ack! This site is moving to tomhorsley.com since Comcast's efforts to improve their world's worst customer service ranking apparently include terminating web hosting for their existing customers.
This microcode allows the Teensy to talk over both the bluetooth and USB interfaces (default to bluetooth, but if the host computer opens the USB interface, it will talk to USB instead). It is also ifdefed so the same source can build the old Arduino UNO R3 version.
The structure of the source is:
Random notes on the software:
Some aardlearn screenshots are available:
The aardlearn program probably needs a lot more work someday, but what I really need is to start learning enough about android programming to be able to make a useable android interface (probably this will bring all my progress to a screeching halt).
Note that I found the arduino IDE incredibly annoying so I eventually discovered what the IDE actually did by replacing all the avr compiler tools with shell scripts to log the arguments then run the original command. The result is the Makefile in the microcode subdirectory of the source, but beware that it hard codes paths and other things unique to my system, so would no doubt need tweaks to work on another system. (The microcode source expects to be compiled in an Arduino 1.0 or later environment and be loaded onto a Uno R3).
A similar hack allowed me to build the Makefile.teensy file which builds the teensy version of the microcode.
Also note that both the arduino and my linux box are little endian architectures, and I'm making no attempt to safeguard the code so it will work properly on a big endian machine :-).
Here's the software archive which is probably mostly useful only for me at the moment as a way to save old versions that I know worked. Order is most recent at top to oldest at bottom..