Arduino IDE: Error: expected `}' at end of input
hi everyone,
just tell first: i'm using teensy 2.0 12" resistive touch panel.
i problem when try compile code, , error is: expected `}' @ end of input.
i've checked parts added/changed, tried fix them, nothing.
my code long had attach file, sorry.
thanks in advance!
just tell first: i'm using teensy 2.0 12" resistive touch panel.
i problem when try compile code, , error is: expected `}' @ end of input.
i've checked parts added/changed, tried fix them, nothing.
my code long had attach file, sorry.
thanks in advance!
line 820 guess:
i'm sure there more optimised ways write code. moment see sections of code looks same, repeated, can assured there better way of doing it... write functions, reduce line count dramatically.
code: [select]
if(space==2){
keyboard.set_key1(key_backspace);
keyboard.send_now();
keyboard.set_key1(0);
keyboard.send_now();
keyboard.print(". ");
space = 0;
}
} // ------------------------------- curly brace missing
if(x > 774 & x < 855 & y < 289){
space = 0;
keyboard.print(",");
delay(100);
}
if(x > 856 & x < 950 & y < 289){
space = 0;
num = num + 1;
delay(100);
if(num==3){
num=0;
}
}
delay(100);
}
i'm sure there more optimised ways write code. moment see sections of code looks same, repeated, can assured there better way of doing it... write functions, reduce line count dramatically.
Arduino Forum > Using Arduino > Programming Questions > Arduino IDE: Error: expected `}' at end of input
arduino
Comments
Post a Comment