Mikroelektronika MIKROE-724 データシート
518
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
Library Example
This code shows how to use the Ethernet mini library:
-the board will reply to ARP & ICMP echo requests
-the board will reply to UDP requests on any port :
- returns the request in upper char with a header made of remote host IP & port number
-the board will reply to HTTP requests on port 80, GET method with pathnames:
- / will return the HTML main page
- /s will return board status as text string
- /t0 ... /t7 will toggle RD0 to RD7 bit and return HTML main page
- all other requests return also HTML main page.
Main program code:
HW Connection