6 years, 9 months ago.

I would like to get an example source code that turns the LED on and off with Ethernet.

Hello becky Researcher

6.13.2017 I am a trained South Korean. I think that education has helped a lot in doing well.

As I talked during the training, I know the client example, but I did not explain the server example.

I would like to get an example source code that turns the LED on and off with Ethernet.

A GUI having two on and off icons for controlling a predetermined LED on / off in two ways is created, If you click the on or off icon, It would be great if it is an example that can turn the built-in LED on and off.

And if you want the example to be applicable to your W7100A, how do you fix it? I would appreciate it if you let me know.

Please inform us of the above information and we will apply it to your situation of W7500 or W7100A.

So please work hard.

Best Regards

Choongik Nam cin@sourcetel.co.kr

Question relating to:

WIZwiki-W7500 is a SoC platform board based on the W7500 chip = ARM Cortex-M0 that integrates 128KB Flash and hardwired TCP/IP core. If you use WIZwiki-W7500 board, you can easily …

2 Answers

4 years, 10 months ago.

You can follow this example to connect to the server: https://os.mbed.com/docs/mbed-os/v5.6/reference/ethernet.html. Instead of closing the socket connection, you can listen for server messages and turn on and off the led.

You need to change the class used as EthernetInterface to WIZnetInterface: https://os.mbed.com/teams/WIZnet/code/WIZnetInterface-OS5/

4 years, 10 months ago.

Try Zoltan's example here,

https://os.mbed.com/users/hudakz/code/WebSwitch_WIZ550io/

But use the W7500 library and remove the ifdef's for the different targets, you only need to set up for your board.