mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2024-12-21 23:18:56 -05:00
Update SimpleAtariExample.ino
This commit is contained in:
parent
528b3f9406
commit
d2e2b92dda
@ -56,7 +56,7 @@ void loop()
|
||||
newBUTTON = digitalRead(BUTTON);
|
||||
|
||||
|
||||
// Check if anything changed. This way we don't have to send anything to USB if nothing changes.
|
||||
// Check if anything changed. This way we don't have to send anything to USB if nothing happened after last time.
|
||||
|
||||
if (newUP != lastUP) {
|
||||
lastUP = newUP;
|
||||
|
Loading…
Reference in New Issue
Block a user