irgendwas

This commit is contained in:
danielvici123
2025-01-22 10:10:30 +01:00
parent 1507b7d590
commit b6eafc20e5
29 changed files with 3241 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
#include <Ps3Controller.h>
void setup()
{
Serial.begin(115200);
Ps3.begin("01:02:03:04:05:06");
Serial.println("Ready.");
}
void loop()
{
if (Ps3.isConnected()){
// Turn rumble on full intensity for 1 second
Ps3.setRumble(100.0, 1000);
delay(2000);
// Turn rumble on full intensity indefinitely
Ps3.setRumble(100.0);
delay(2000);
// Turn off rumble
Ps3.setRumble(0.0);
}
delay(2000);
}