Serial.println("Yellow Fret Pressed"); Serial.println("Blue Fret Pressed") - Keyestudio 4DOF Manual

Robot mechanical arm kit for arduino diy
Hide thumbs Also See for 4DOF:
Table of Contents

Advertisement

else if(error == 1)
Serial.println("No controller found, check wiring, see readme.txt to enable debug. visit www.billporter.info for troubleshooting
tips");
else if(error == 2)
Serial.println("Controller found but not accepting commands. see readme.txt to enable debug. Visit www.billporter.info for
troubleshooting tips");
//Serial.print(ps2x.Analog(1), HEX);
ps2x.enableRumble();
ps2x.enablePressures();
}
void loop()
{
myservo1.attach(A1); // set the control pin of servo 1 to A1
myservo2.attach(A0); // set the control pin of servo 2 to A0
myservo3.attach(6);
// set the control pin of servo 3 to D6
myservo4.attach(9);
// set the control pin of servo 4 to D9
if(error != 0)
//enable rumble vibration motors
//enable reading the pressure values from the buttons.
238

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents