If you're running this with Flash and serproxy open and your Arduino board plugged-in, you should be getting characters funneling through. One thing that looks immediately suspicious is the go()
function embedded in the setupBoard()
in Flash. It may work but you should double-check that your scope is right and that the a
variables in go()
are not undefined
What messages are you getting when you run a preview of your Flash movie? That's usually pretty telling
You may want to use Serial.print()
and Arduino software's built-in serial monitor to run some debug outputs at points in the code, to make sure for example that it's getting past the Serial.available()
check and into the actual LED logic.
If you haven't already, check all the usuals: proper connection with serproxy open, the port number for the board (based on serproxy.cfg), the right serial_device1 variable set in serproxy.cfg, etc.
If you're on a Mac, you can also try using the screen command in the Terminal to check that your serial connection is working. You would want to type something like this, where cu.usbserial-A2000g7e is whatever the ID of your board is:
ls -al /dev
ls -al /dev | grep cu
I haven't used the screen command in a while so I may be forgetting something, but it can be handy