CH_HID_Arduino
CH_HID_Arduino copied to clipboard
Compile error: syntax error: token -> '::'
Hello. So I have setup my CH552 to be able to program and upload codes via Arduino IDE. I tried to compile a BareMinimum example and only add the library to the code. However, when I compile I get an error about "Broken pipes" and "syntax error: token -> '::'"
I have tried googling this error but this seems to happen at some other syntax error like missing "," or missing ";". Sometime it also relates to variable being declared wrong type but I tried checking the "CH_HID_Arduino.cpp" file and haven't found anything wrong so far.
Currently I have no clue what to do to fix the error. Any help is appreciated.