![]() ![]() * rightPower The intensity of the right/low rumble effect. * rightDuration The duration of the right/low rumble effect. * Turn on rumble using custom duration and power. * mode Either ::RumbleHigh or ::RumbleLow. Line 199 to 213 copied from USB_Host_Shield_2.0/PS3USB.h at master I think this is the rumble code inside the library. The library have some functiuns on how to activate the motor(s), something like this The rumble motor(s) are inside the PS3 controller (the force feedback in controller)… So this is atually a question on how to use the library. ![]() Servo.write(85) // Set to middle position Serial.print(F("\r\nPS3 Bluetooth Library Started")) ĭigitalWrite(LED, PS3.getButtonPress(CROSS)) Servo.attach(9) // Use pin 9, as signal pin Serial.print(F("\r\nOSC did not start")) Int buttonState = 0 // variable for reading the pushbutton status Servo servo // create servo object to control a servo PS3USB PS3(
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |