Arduino: 1.6.12 (Windows 7), Board: "Arduino/Genuino Uno"
C:UsersmakomDesktop
ewtest
ewtest2
ewtest2.ino: In function 'void loop()':
newtest2:54: error: a function-definition is not allowed here before '{' token
void alarm (){
^
newtest2:82: error: expected '}' at end of input
}
^
newtest2:82: error: expected '}' at end of input
exit status 1
a function-definition is not allowed here before '{' token
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.