Keyestudio 4DOF Manual page 232

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

Advertisement

www.keyestudio.com
Serial.println("holding L1 or R1 will print out the analog stick values.");
Serial.println("Go to www.billporter.info for updates and to report bugs.");
}
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
//enable rumble vibration motors
//enable reading the pressure values from the buttons.
229

Advertisement

Table of Contents
loading

Table of Contents