How should other users know what might be wrong with your code?
Do you want us to compile it for you?
Do you watch a different behaviour of your code than you expected?
What is the behaviour that you watch? And how does it deviate from what you want?
I just want to know if it will compile. All of my Arduinos are packed for moving.
You don't need an Arduino to compile code.
I'm not sure how I didn't know that.
/usr/local/bin/arduino-cli compile --fqbn arduino:avr:nano:cpu=atmega328old --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/749456701/build --build-path /tmp/arduino-build-F3C97ADCB3823ADC75981C8104F3E557 --library /mnt/create-efs/webide/c0/b7/c0b73112b524ae7461e8fa7a9dbd8af9:iceches/libraries_v2/RF24 /tmp/749456701/switchCase_copy
Compiling sketch...
/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/builder/.arduino15/packages/arduino/hardware/avr/1.8.3/cores/arduino -I/home/builder/.arduino15/packages/arduino/hardware/avr/1.8.3/variants/eightanaloginputs /tmp/arduino-build-F3C97ADCB3823ADC75981C8104F3E557/sketch/switchCase_copy.ino.cpp -o /tmp/arduino-build-F3C97ADCB3823ADC75981C8104F3E557/sketch/switchCase_copy.ino.cpp.o
/tmp/749456701/switchCase_copy/switchCase_copy.ino: In function 'void loop()':
/tmp/749456701/switchCase_copy/switchCase_copy.ino:42:51: error: expected ')' before '{' token
else if (matches(gesture, inputMatchupLeftClick){
^
/tmp/749456701/switchCase_copy/switchCase_copy.ino:73:1: error: expected primary-expression before '}' token
}
^
Error during build: exit status 1
EDIT - Oops. Dumb mistake. Sorry for the false alarm.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.