Closed peteiwenzel closed 5 years ago
Tried your code but got the following error during compile. Suggestions?
Arduino: 1.8.8 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (1M SPIFFS)"
In file included from C:\Users\peter\Documents\Arduino\weenyMO_test\weenyMO_test.ino:1:0:
C:\Users\peter\Documents\Arduino\libraries\weenymo-master\src/weenyMo.h:79:1: error: expected ';' after class definition
}
^
weenyMO_test:11:9: error: expected unqualified-id before string constant
weenyMo("tiny tim",onVoiceCommand);
weenyMO_test:11:9: error: expected ')' before string constant
C:\Users\peter\Documents\Arduino\weenyMO_test\weenyMO_test.ino: In function 'void setup()':
weenyMO_test:19:10: error: expected unqualified-id before '.' token
weenyMo.gotIPAddress(); // ready to roll...Tell Alexa to discover devices.
exit status 1 expected unqualified-id before string constant
My bad - poor quality control, simple typo fixed. Could you try again please?
Tried your code but got the following error during compile. Suggestions?
Arduino: 1.8.8 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (1M SPIFFS)"
In file included from C:\Users\peter\Documents\Arduino\weenyMO_test\weenyMO_test.ino:1:0:
C:\Users\peter\Documents\Arduino\libraries\weenymo-master\src/weenyMo.h:79:1: error: expected ';' after class definition
}
^
weenyMO_test:11:9: error: expected unqualified-id before string constant
weenyMo("tiny tim",onVoiceCommand);
weenyMO_test:11:9: error: expected ')' before string constant
C:\Users\peter\Documents\Arduino\weenyMO_test\weenyMO_test.ino: In function 'void setup()':
weenyMO_test:19:10: error: expected unqualified-id before '.' token
weenyMo.gotIPAddress(); // ready to roll...Tell Alexa to discover devices.
exit status 1 expected unqualified-id before string constant