I got this sorted - removed all the 1.4 files from libraries and then copied the 1.5 ones in
Posts made by elite
RE: 'DEFAULT_CE_PIN' was not declared in this scope
'DEFAULT_CE_PIN' was not declared in this scope
I know this is something really stupid - but can't figure out what I'm doing wrong...
Just trying 1.5 and I get the following when I try and compile
In file included from C:\Users\nick\Documents\Arduino\libraries\MySensors\MyGateway.cpp:12:0: C:\Users\nick\Documents\Arduino\libraries\MySensors\MyGateway.h:39:28: error: 'DEFAULT_CE_PIN' was not declared in this scope MyGateway(uint8_t _cepin=DEFAULT_CE_PIN, uint8_t _cspin=DEFAULT_CS_PIN, uint8_t _inclusion_time = 1, uint8_t _inclusion_pin = 3, uint8_t _rx=6, uint8_t _tx=5, uint8_t _er=4);``` I know I am missing something obvious - if another pair of eyes can spot it I would be very grateful
Ethernet Gateway - How to get sensor data?
I am just getting my feet wet with mysensors and wanted to clarify how a controller gets data from the ethernet gateway.
Looking at the code, the data gets dumped to the ethernet connection in the writeEthernet method, I assume I need to connect somehow via sockets to get this data?
Does anyone know if there is any example code for reading this data into a controller (any language would be great as I am struggling to find anything on this)?
Out of curiosity is there a reason for doing it like this rather than pushing the data to the controller via a rest request or something?
Thanks for any help - everything else has been really straight forward so far