arduino-multi-relay icon indicating copy to clipboard operation
arduino-multi-relay copied to clipboard

ethernet

Open Swiatowid88 opened this issue 5 years ago • 1 comments

Witam, używam sketcha na domoticzu działa super, jestem początkujący, i mam pytanie co muszę zrobić (dodać) i jak żeby można było skomunikować arduino z domoticzem przez ethernet ?? a nie przez usb mam shilda w5100 ale nie mam wiedzy.

Swiatowid88 avatar Nov 04 '20 20:11 Swiatowid88

#define MY_GATEWAY_W5100
// Gateway IP address
#define MY_IP_ADDRESS 192,168,111,104
// The port to keep open on node server mode / or port to contact in client mode
#define MY_PORT 5003   
#define MY_MAC_ADDRESS 0x84, 0x0D, 0x8C, 0x08C, 0x16, 0x2C  
//Ethernet shield
#include <Ethernet.h>

zastepuje #define MY_GATEWAY_SERIAL

gniazdoj avatar Feb 26 '21 15:02 gniazdoj