Created
April 28, 2023 12:02
-
-
Save idank/18c9e529eea3f31ddc00fffe2d11803e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---------- busywait: works | |
// config.h | |
#define PS2_MOUSE_USE_REMOTE_MODE | |
#define PS2_CLOCK_PIN D3 | |
#define PS2_DATA_PIN B4 | |
// rules.mk | |
PS2_MOUSE_ENABLE = yes | |
PS2_ENABLE = yes | |
PS2_DRIVER = busywait | |
// --------- interrupt: doesn't work | |
// config.h | |
#define PS2_CLOCK_PIN D3 | |
#define PS2_DATA_PIN B4 | |
// rules.mk | |
PS2_MOUSE_ENABLE = yes | |
PS2_ENABLE = yes | |
PS2_DRIVER = interrupt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment