ENC28J60 example

I can’t compile the example included in the blynk library. I get the following error:

In file included from \Documents\Arduino\libraries\blynk-library-master/BlynkSimpleUIPEthernet.h:15:0,
from ENC28J60.ino:29:
\Documents\Arduino\libraries\blynk-library-master/Adapters/BlynkEthernet.h:21:22: fatal error: Ethernet.h: No such file or directory
#include <Ethernet.h>
^
compilation terminated.
Error compiling.

Is there anything I did wrong when installing Blynk?

@mba2007,
This example is specially for ENC28J60 module.
Please see the comment on the top of this sketch, which says:

This example shows how to use ENC28J60 (UIPEthernet library)
to connect your project to Blynk.
  
For this example you need UIPEthernet library:
    https://github.com/ntruchsess/arduino_uip

Feel free to apply it to any other example. It's simple!

If you have connected your Arduino to the ENC28J60, go ahead downloading the specified library :smile:
Also, take a look at our Troubleshooting page.

Hope this helps.

Thanks for the quick reply! I did download UIPEthernet (it shows up in Sketch>Include Library). But the example still doesn’t compile.

@mba2007,
Sorry I now see that we have this problem. We will fix it in next library update.
For now, I checked that you can use this example with Arduino IDE v1.0.6 (it works well there).

Sorry for inconvenience.

@mba2007, the issue was fixed.
You can try using the latest version (master) from git:
https://github.com/blynkkk/blynk-library/archive/master.zip
Note that it may be unstable (it was not released yet).

1 Like