I’m in the process of writing a program that will control my model railway layout I’m working on. I got the LCD working with no problems. I then began to add my buttons and led’s, I have only added one for the time being just to get it working. I used code from the Arduino website which I’ve used before with no problem. when I pressed verify it gave me an error saying expected constructor, destructor, or type conversion before ‘(’ token. Does anyone know how to fix this?
Wat_Tyler_Programme.ino (958 Bytes)