I use an arduino mega with ethernetshield WS5200 connected to a router (DHCP).
While the ethernet shield works fine in another sketch, I cannot get it working with blink.
I guess I do not use the right parameters.
This works in another sketch:
…
#include <EthernetV2_0.h>
#define W5200_CS 10
#define SDCARD_CS 4
…
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192,168,1,177);//
…
//setup
Ethernet.begin(mac, ip);
I tried different Blynk examples and tried with different parameters but with no result…
Very likely stupid beginner errors.
What would be the right parameters?
Thanks