Changes between Version 7 and Version 8 of wade/embedded/arduino/example/example_7_1_ethernet_web_admin
- Timestamp:
- May 11, 2010, 12:12:28 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
wade/embedded/arduino/example/example_7_1_ethernet_web_admin
v7 v8 11 11 * 接法: 12 12 * digital pin2:DC SWITCH 13 * pin3:AC SWITCH 13 14 * pin10:W5100 14 15 * pin11:W5100 … … 25 26 26 27 #include <Ethernet.h> 27 #include <NewSoftSerial.h>28 //#include <string.h>29 28 30 29 // W5100 configuration … … 38 37 uint8_t ssTX = 7; 39 38 // enable soft serial nss 40 NewSoftSerial nss(ssRX, ssTX);39 // NewSoftSerial nss(ssRX, ssTX); 41 40 42 41 // initial … … 53 52 server.begin(); 54 53 Serial.begin(9600); 55 nss.begin(9600);56 54 pinMode(DC_control, OUTPUT); 57 55 pinMode(AC_control, OUTPUT);