Mega2560, ENC28J60 + Blynk

Hello. I just wonder how to make it work. I can’t see any variable which holds configured CS pin of Arduino.

For example using EtherCard.h for ENC28J60 we need to write CS pin number this way:

ether.begin(sizeof Ethernet::buffer, mymac, 53);

How about Blynk libraries?

Blynk uses UIPEthernet. Just hook-up a working wiring for Mega and this library (as noted in the example sketch).
Hope this helps.

There is a default pin which handles CS on the different Arduino’s. On a Mega it’s 53 by default.

Thank you very much. :slight_smile: