Servidor Web embebido
Fork of Embedded_web_wiznet by
Revision 2:32292640a59d, committed 2014-09-09
- Comitter:
- pomernblueice
- Date:
- Tue Sep 09 11:46:42 2014 +0000
- Parent:
- 1:f39ba31afda9
- Commit message:
- OK
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f39ba31afda9 -r 32292640a59d main.cpp --- a/main.cpp Tue Jul 01 17:53:19 2014 +0000 +++ b/main.cpp Tue Sep 09 11:46:42 2014 +0000 @@ -4,7 +4,7 @@ #define ECHO_SERVER_PORT 80 -SPI spi(PTD7, PTD6, PTD5); // mosi, miso, sclk +SPI spi(PTD6, PTD7, PTD5); // mosi, miso, sclk WIZnetInterface eth(&spi, PTD4, PTA20); // spi, cs, reset Serial pc(PTA2,PTA1); DigitalOut led(PTB0); @@ -13,9 +13,9 @@ -const char * IP_Addr = "169.254.175.210"; -const char * IP_Subnet = "255.255.255.0"; -const char * IP_Gateway = "169.254.175.209"; +const char * IP_Addr = "10.192.147.150"; +const char * IP_Subnet = "255.255.252.0"; +const char * IP_Gateway = "10.192.147.254"; char data[8]; int lenght;