Grzegorz Michalec / Mbed 2 deprecated sisk_proj_stat

Dependencies:   EthernetInterface mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "EthernetInterface.h"
00003 
00004  
00005 int main() {
00006     EthernetInterface eth;
00007     eth.init();
00008     eth.connect();
00009     printf("IP Address is %s\n", eth.getIPAddress());
00010     eth.disconnect();
00011     }