lewys.martin wrote: The way I have my arduinos wired up I cannot have connected to USB SERIAL and a power source for ESP at same time
I've checked. It works every time. I'm testing on Arduino Mega and HW serial port. Do you use original demo code or did you modify it?
Try to enable debug and see what's happening...
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows XP), Board: "Arduino Uno (256 Serial Buffer)"
easyrelay:18: error: expected ',' or '...' before '&' token
easyrelay:18: error: ISO C++ forbids declaration of 'Esp8266EasyIoTMsg' with no type
easyrelay:15: error: 'Esp8266EasyIoT' does not name a type
easyrelay.ino: In function 'void setup()':
easyrelay:31: error: 'esp' was not declared in this scope
easyrelay:36: error: 'S_DIGITAL_OUTPUT' was not declared in this scope
easyrelay.ino: In function 'void loop()':
easyrelay:41: error: 'esp' was not declared in this scope
easyrelay.ino: At global scope:
easyrelay:44: error: expected ',' or '...' before '&' token
easyrelay:44: error: ISO C++ forbids declaration of 'Esp8266EasyIoTMsg' with no type
easyrelay.ino: In function 'void incomingMessage(int)':
easyrelay:48: error: 'message' was not declared in this scope
easyrelay:48: error: 'V_DIGITAL_VALUE' was not declared in this scope
cdj wrote: Sorry but i've tried to compile this module and :
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows XP), Board: "Arduino Uno (256 Serial Buffer)"
easyrelay:18: error: expected ',' or '...' before '&' token
easyrelay:18: error: ISO C++ forbids declaration of 'Esp8266EasyIoTMsg' with no type
easyrelay:15: error: 'Esp8266EasyIoT' does not name a type
easyrelay.ino: In function 'void setup()':
easyrelay:31: error: 'esp' was not declared in this scope
easyrelay:36: error: 'S_DIGITAL_OUTPUT' was not declared in this scope
easyrelay.ino: In function 'void loop()':
easyrelay:41: error: 'esp' was not declared in this scope
easyrelay.ino: At global scope:
easyrelay:44: error: expected ',' or '...' before '&' token
easyrelay:44: error: ISO C++ forbids declaration of 'Esp8266EasyIoTMsg' with no type
easyrelay.ino: In function 'void incomingMessage(int)':
easyrelay:48: error: 'message' was not declared in this scope
easyrelay:48: error: 'V_DIGITAL_VALUE' was not declared in this scope
Why ?
Thanks
Dario
Did you downloaded latest ESP8266 EasyIoT Arduino library?