error: stray '##' in program In function 'void setup()':
In function 'void loop()':
In function 'void __vector_13()':
In function 'long unsigned int buttoncode(byte)':
In function 'void brand(byte)':
In function 'uint8_t timer2top(unsigned int)':
In function 'void setchannel(byte)':
Bad error line: -8
There don't appear to be any stray ## Any ideas how to find the error?
I expect the problem is in the .h file – make sure that every #define in the .h file is at the beginning of a new line. The file on the website may have lost some formatting
I tried that earlier and it failed with a message about macros. I've just retried it and it failed at #include "irparams.h" so I commented this out and used the menu to include it. The program compiles now.
Thanks for your help.
p.s. I was using Arduino v-0012 when it failed earlier, but installed v-0017 this evening.