Fix behavior when using pull-up resistors.
This commit is contained in:
8
examples/type_test/Makefile
Normal file
8
examples/type_test/Makefile
Normal 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}
|
@ -5,7 +5,7 @@
|
||||
#include <Bounce2.h>
|
||||
#include <Joystick.h>
|
||||
|
||||
bool debug = true;
|
||||
bool debug = false;
|
||||
Joystick joystick(debug);
|
||||
|
||||
void setup() {
|
||||
|
Reference in New Issue
Block a user