const int rightPIN=5; //right servoconst int leftPIN=3; //left servo
As a consolation, these are all things I should have mentioned in the beginning but being a noob myself I didn't think about them until you ran into problems and until I started thinking about what it might be is when it came to me.
YEah, those are all PWM pins on the 328 as well. Let me know how it goes. If you still don't have success, change those analogWrite lines todigitalWrite (leftPIN,HIGH);digitalWrite (rightPIN,HIGH);Have you tested your servo circuitry using a simple arduino sketch that doesn't rely on any external data. Just some basic code that moves the wheels?
My project is coming to an end and still unable to control the functions using PHP..