1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-25 02:22:21 -05:00

Update SimpleAtariExample.ino

This commit is contained in:
mcgurk 2016-09-06 08:54:21 +03:00 committed by GitHub
parent 58f0dedb4d
commit 528b3f9406

View File

@ -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;