9 years, 6 months ago.

Has anyone imported WebSwitch_ENC28J60 with success?

I imported WebSwitch_ENC28J60 into my online IDE using the Import button on that page, I am using a LPC1768 mbed board. I have a number of ENC38J60 ethernet modules that I have used with success on Arduinos, and thought it would be a good place to start with mbed.

So I go to build WebSwitch_ENC28J60 and get a lot of compile errors like "Warning: BeginPacket inherits implicit virtual in "UIPEthernet/UIPUdp.h", Line: 64, Col: 17" in file UIPUdp.h

and quite a few of the same from UIPClient.h

I admit that I am at a little bit of a loss with all of these errors, I hope I forgot to include a library or similar stupid mistake, hoping for an easy fix.

Can someone point me in the right direction for a solution to this?

Thanks wade

1 Answer

9 years, 4 months ago.

Hi Wade,

I've adapted the UIPEthernet library recently to work also with LPC1768 board. Also changed the WebSwitch_ENC28J60 application so it should compile now (with some warnings). Downloaded to my LPC1768 and it works.

Enjoy.

Zoltan Hudak

Accepted Answer

Thanks, I will give it a try when I get home next week, currently away.

wade

posted by wade brown 22 Dec 2014

Hi Zoltan, I am trying to use your library but I cant lots of warning and error are there, my board is FRDM-K64F

posted by vivek ranjan 07 Feb 2019

Hello Vivek,

Try this example program. It should compile with no errors (athough lot of warnings) for FRDM-K64F after replacing the following two lines:

//...
//Serial  pc(PA_2, PA_3);
Serial  pc(D1, D0);
//...
//UIPEthernet  uIPEthernet(PB_5, PB_4, PB_3, PA_10);  // mosi, miso, sck, cs
UIPEthernet  uIPEthernet(D11, D12, D13, D10);  // mosi, miso, sck, cs
//...

Then use the following wiring:

FRDM-K64FENC28J60 module
5V5V
GNDGND
D11SI
D12SO
D13SCK
D10CS
posted by Zoltan Hudak 07 Feb 2019