on Tue 12 of Jan., 2010 12:33 EST, by rsbohn
If you want to run the code examples for Arduino on your Maple board you have to pick one of the three serial ports to use. Just compiling out-of-the-box will fail. To use Serial1 (the USB serial port) add the following to the top of the sketch:
; // semicolon - you need it here
#if defined(MAPLE)
HardwareSerial Serial = Serial1
#endif
Now you should be able to compile and run the sketch on the Maple, and it will still work on the Arduino as well.