mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2024-11-22 00:52:22 -05:00
Update SimpleAtariExample.ino
This commit is contained in:
parent
58f0dedb4d
commit
528b3f9406
@ -56,7 +56,7 @@ void loop()
|
|||||||
newBUTTON = digitalRead(BUTTON);
|
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 changes.
|
||||||
|
|
||||||
if (newUP != lastUP) {
|
if (newUP != lastUP) {
|
||||||
lastUP = newUP;
|
lastUP = newUP;
|
||||||
|
Loading…
Reference in New Issue
Block a user