template of http server test program

Dependencies:   C12832_lcd EthernetNetIf HTTPServer mbed

main.cpp

Committer:
khayakawa
Date:
2013-07-18
Revision:
0:148f9f924f8e

File content as of revision 0:148f9f924f8e:

#include "mbed.h"
#include "EthernetNetIf.h"
#include "HTTPServer.h"
#include "C12832_lcd.h"

C12832_LCD lcd;
 
DigitalOut led1(LED1);
DigitalOut led2(LED2);
DigitalOut led3(LED3);
DigitalOut led4(LED4);
 
 

/*
 * Use DHCP
 */
//        EthernetNetIf ethif;

/*
 * Use "static IP address" (Parameters:IP, Subnet mask, Gateway, DNS)
 */
       EthernetNetIf ethif(IpAddr(192,168,50,125), 
                           IpAddr(255,255,255,0), 
                           IpAddr(192,168,50,254),
                           IpAddr(192,168,110,3));

    
    HTTPServer server;
    LocalFileSystem local("local");
 
int main(void) {
 

}