mirror of
https://github.com/whoswhip/Spectrum.git
synced 2026-12-06 01:28:42 +00:00
fix: add back ping to sketch
This commit is contained in:
+4
@@ -24,6 +24,10 @@ void loop() {
|
|||||||
state = WAIT_MOVE_X;
|
state = WAIT_MOVE_X;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 0x02:
|
||||||
|
Serial.write(0xAA); // ping
|
||||||
|
break;
|
||||||
|
|
||||||
case 0x03: // left down
|
case 0x03: // left down
|
||||||
Mouse.press(MOUSE_LEFT);
|
Mouse.press(MOUSE_LEFT);
|
||||||
break;
|
break;
|
||||||
Reference in New Issue
Block a user