I've hooked up two Arduino pro mini's so one is interpreting PS2 controller commands and sending them to a second Arduino serially that I would like to control an ESC or motor controller using PWM signel (how do you convert the serial DEC values given to you by the ps2 library into pwm signels so you can control the speed of a motor or brightness of a light through serial commands? ). Dose anyone have an example code that uses Xbee and and two arduinos to control a tank style robot or camera gimble.
Note - I would be happy to assist any people with any problems prior to this step.