Created Wed, 08 Jun 2016 22:41:44 +0000 by Laci04
Wed, 08 Jun 2016 22:41:44 +0000
Hello!
I used the Ethernet server with DNETcK library. The server remotely set some parameters by GET requests. It would be necessary to change the IP address.
DNETcK::begin(ipServer); This is OK! but... IPv4 ipServer = {192,168,1,5}; is static parameter. How is it possible to set the IP address in void setup() function?
Something like that would be a good solution: DNETcK::begin(EEPROM.read(0x00), EEPROM.read(0x01), EEPROM.read(0x02), EEPROM.read(0x03));
Idea?
Many thanks!