chipKIT® Development Platform

Inspired by Arduino™

Problems with Arduino examples using Processing

Created Sun, 08 Jan 2012 19:38:12 +0000 by Tallystick


Tallystick

Sun, 08 Jan 2012 19:38:12 +0000

I've been going through the Arduino examples to learn how to use my Uno32, and everything has worked properly until I tried two examples where Processing sends serial data to the Uno32.

In both of these examples Processing sends data describing the mouse position to the Uno32 to activate an LED. I'm seeing the serial receive LED "LD1" light up when I run the Processing sketch, but LD4, the LED connected on pin 13 does not light at all.

http://arduino.cc/en/Tutorial/Dimmer http://arduino.cc/en/Tutorial/PhysicalPixel

The Graph example does work as expected. I was able to graph the output of a thermistor in Processing after capturing the data with the Uno32. So there is communication taking place between the Uno32 and Processing, but I can't figure out why the output from Processing isn't turning on the LED in the above examples.

What do I need to do to get this working?

http://arduino.cc/en/Tutorial/Graph


Tallystick

Mon, 09 Jan 2012 02:22:51 +0000

Ok, if I don't have the Processing sketch running, I can use the serial monitor in the MPIDE to transmit ascii to turn on and off the LED in the Physical Pixel example, or modulate the LED brightness in the Dimmer example.

Still can't figure out why the Processing sketch output isn't working.