You probably forgot to put a semicolon at the end of the line directly above the line indicated by your error message.Video Explanation
...was not declared in this scope
stray '\###' in program
expected initializer before...
a function-definition is not allowed here before '{' token
...does not name a type
expected ')' before...
programmer is not responding
If you are programming an Arduino Nano:
If you are programming an ATtiny84:
If you are trying to program an ATtiny84, make sure you have select the Arduino as ISP Programmer from the Tools menu.