Led lights and formal grammars
I use scons to upload my program to my ardunino. Thanks scons! :)
These two commands worked for me, after plugging in my Arduino One to my Ubuntu machine (worked on both 12.04 and 13.04)
scons scons ARDUINO_PORT=/dev/ttyACM0 upload
For more info, including how I generated most of the c source code. See this similar repository by me.