1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-23 17:42:16 -05:00

Update 4joy_adapter.ino

This commit is contained in:
Jarno Lehtinen 2018-12-07 17:20:36 +02:00 committed by GitHub
parent 5084ddd1f3
commit ef806b50a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ void loop() {
GPIOR0 = joy1; GPIOR1 = joy2; GPIOR0 = joy1; GPIOR1 = joy2;
PORTB = *ptr; // is this atomic? probably, because ptr is 6-bit pointer? PORTB = *ptr; // is this atomic? probably, because ptr is 6-bit pointer.
//delayMicroseconds(10); //delayMicroseconds(10);
//uint16_t koe = ptr; //uint16_t koe = ptr;
//Serial.println(koe, HEX); //Serial.println(koe, HEX);