error a function-definition is not allowed here bevore "{" token
Posted: Fri Sep 25, 2015 8:33 pm
after playing for a while this error poped up
Arduino: 1.6.4 (Windows 8.1), Board:"Arduino Fio"
FunStuff.ino: In function 'void sensorcheck()':
FunStuff:29: error: a function-definition is not allowed here before '{' token
FunStuff:45: error: a function-definition is not allowed here before '{' token
FunStuff:55: error: a function-definition is not allowed here before '{' token
RingoHardware:948: error: expected '}' at end of input
a function-definition is not allowed here before '{' token
i've tried to delte the file funstuff but then it will just say
Arduino: 1.6.4 (Windows 8.1), Board:"Arduino Fio"
In file included from Navigation.ino:26:0:
A LOT OF LOCATION'S IN MY ARDUINO INSTALLATION FOLDER
Navigation:41: error: a function-definition is not allowed here before '{' token
Navigation:45: error: a function-definition is not allowed here before '{' token
RingoHardware:948: error: expected '}' at end of input
a function-definition is not allowed here before '{' token
so that doesn't work
I made about 5 sketches now and they all look (quite) the same(line follower).
also what i just edited in my sketch was the line detecting part wich is in all my sketches
hope someone knows the problem
sorry for bad english
Arduino: 1.6.4 (Windows 8.1), Board:"Arduino Fio"
FunStuff.ino: In function 'void sensorcheck()':
FunStuff:29: error: a function-definition is not allowed here before '{' token
FunStuff:45: error: a function-definition is not allowed here before '{' token
FunStuff:55: error: a function-definition is not allowed here before '{' token
RingoHardware:948: error: expected '}' at end of input
a function-definition is not allowed here before '{' token
i've tried to delte the file funstuff but then it will just say
Arduino: 1.6.4 (Windows 8.1), Board:"Arduino Fio"
In file included from Navigation.ino:26:0:
A LOT OF LOCATION'S IN MY ARDUINO INSTALLATION FOLDER
Navigation:41: error: a function-definition is not allowed here before '{' token
Navigation:45: error: a function-definition is not allowed here before '{' token
RingoHardware:948: error: expected '}' at end of input
a function-definition is not allowed here before '{' token
so that doesn't work
I made about 5 sketches now and they all look (quite) the same(line follower).
also what i just edited in my sketch was the line detecting part wich is in all my sketches
hope someone knows the problem
sorry for bad english