ESP8266 problem sketch error

In that case, I guess you haven’t read the “Defining your physical switch and LED” section of the tutorial that I linked to…

If you have read it and stil don’t understand it them I’d suffers that that you ask me very specific questions about the sections you don’t understand, quoting specific sections of the tutorial and explaining which sections you don’t understand.

Pete.