Keyestudio 4DOF Manual page 197

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

Advertisement

www.keyestudio.com
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();
from the buttons.
}
void loop(){
/* You must Read Gamepad to get new values
Read GamePad and set vibration values
ps2x.read_gamepad(small motor on/off, larger motor strenght from
0-255)
//enable rumble vibration motors
//enable reading the pressure values
194

Advertisement

Table of Contents
loading

Table of Contents