I can't figure out what the following error message means:
Arduino: 1.6.11 (Windows 10), Board: "Arduino/Genuino Uno"
In function 'String wordAnalysis(String)':
PrimeAI:80: error: a function-definition is not allowed here before '{' token
void setup() {
^
PrimeAI:86: error: a function-definition is not allowed here before '{' token
void loop(){
^
PrimeAI:89: 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.
Here is the segment of the code that is getting the error:
//STARTUP SEQUENCE
void setup() {
Serial.begin(9600);
activate();
}
//MAIN WORD PROCESSING LOOP SEQUENCE
void loop(){
Serial.println("Input Analysis:");
Serial.println(wordAnalysis(adminInput));
}