PIN from definitions
This commit is contained in:
parent
5675c8e165
commit
9c2a4d5f77
@ -99,8 +99,8 @@ void amigaYpulse(int8_t count) {
|
||||
}
|
||||
}
|
||||
|
||||
digitalWrite(13, mouseStates[mouseYTableIndex][0]);
|
||||
digitalWrite(14, mouseStates[mouseYTableIndex][1]);
|
||||
digitalWrite(PIN_MOUSE_V, mouseStates[mouseYTableIndex][0]);
|
||||
digitalWrite(PIN_MOUSE_VQ, mouseStates[mouseYTableIndex][1]);
|
||||
delayMicroseconds(MOUSE_PULSE_DELAY);
|
||||
}
|
||||
|
||||
@ -129,8 +129,8 @@ void amigaXpulse(int8_t count) {
|
||||
}
|
||||
}
|
||||
|
||||
digitalWrite(15, mouseStates[mouseXTableIndex][0]);
|
||||
digitalWrite(12, mouseStates[mouseXTableIndex][1]);
|
||||
digitalWrite(PIN_MOUSE_H, mouseStates[mouseXTableIndex][0]);
|
||||
digitalWrite(PIN_MOUSE_HQ, mouseStates[mouseXTableIndex][1]);
|
||||
delayMicroseconds(MOUSE_PULSE_DELAY);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user