Hello I am trying to get the single servo example from the arduino playground (http://www.arduino.cc/playground/Learning/SingleServoExample
) working on my arduino mega 2560. The sketches work on/with my uno (after removing the refresh) but when using the mega, the RX light on the mega remains on 100% of the time when processing connects and no servos move. The arduino sketch works when the commands are sent via the the serial monitor but not when the processing it used.
If the sketch's are changed to send and receive a character eg 's' to trigger a switch case event to move the servo to a preset position they work. It appears to have trouble when data sent continually (based on RX remaining on) with the update of the servo position based on the mouse position from processing.
Can someone help with this? I would prefer to use the mega board for this project as there will be a number of servos used.
I am using the arduino 0.22 and processing 1.5.1 IDE's with RXTX version 2.1-7 and have tested in both linux and windows
I just tried the Dimmer example from the learning section of this site and experience the same problem, with the RX light remaining on.
I just checked the firmware version and appears my new mega is not so new, it has been shipped with the rev0000 not the rev0001 firmware, would this cause this problem?