Fix behavior when using pull-up resistors.

This commit is contained in:
2021-11-01 22:19:05 +00:00
parent 3fd595c7c2
commit bcfd67b50d
3 changed files with 21 additions and 8 deletions

View File

@ -0,0 +1,8 @@
TARGET_BOARD=arduino:avr:uno
COM_PORT=/dev/ttyACM0
build:
arduino-cli compile -b ${TARGET_BOARD}
upload:
arduino-cli upload -b ${TARGET_BOARD} -p ${COM_PORT}

View File

@ -5,7 +5,7 @@
#include <Bounce2.h>
#include <Joystick.h>
bool debug = true;
bool debug = false;
Joystick joystick(debug);
void setup() {