mirror of
https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter
synced 2024-11-21 16:45:08 -05:00
Update temp.ino
This commit is contained in:
parent
f69815693e
commit
952046f071
@ -48,8 +48,7 @@
|
|||||||
volatile uint8_t output1;
|
volatile uint8_t output1;
|
||||||
volatile uint8_t output2;
|
volatile uint8_t output2;
|
||||||
volatile uint16_t last_interrupt;
|
volatile uint16_t last_interrupt;
|
||||||
volatile uint8_t mode = 0; // 0 = 3-joystick mode, 1 = 4-joystick mode
|
volatile uint8_t *ptr;
|
||||||
volatile uint8_t last_joystick = 1;
|
|
||||||
|
|
||||||
ISR(INT2_vect, ISR_NAKED) { // rising edge, output joystick 3
|
ISR(INT2_vect, ISR_NAKED) { // rising edge, output joystick 3
|
||||||
asm volatile(
|
asm volatile(
|
||||||
|
Loading…
Reference in New Issue
Block a user