Changes between Version 7 and Version 8 of wade/embedded/arduino/example/example_7_1_ethernet_web_admin


Ignore:
Timestamp:
May 11, 2010, 12:12:28 PM (14 years ago)
Author:
wade
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • wade/embedded/arduino/example/example_7_1_ethernet_web_admin

    v7 v8  
    1111 * 接法:
    1212 * digital pin2:DC SWITCH
     13 *         pin3:AC SWITCH
    1314 *         pin10:W5100
    1415 *         pin11:W5100
     
    2526
    2627#include <Ethernet.h>
    27 #include <NewSoftSerial.h>
    28 //#include <string.h>
    2928
    3029// W5100 configuration
     
    3837uint8_t ssTX = 7;
    3938// enable soft serial nss
    40 NewSoftSerial nss(ssRX, ssTX);
     39// NewSoftSerial nss(ssRX, ssTX);
    4140
    4241// initial
     
    5352  server.begin();
    5453  Serial.begin(9600);
    55   nss.begin(9600);
    5654  pinMode(DC_control, OUTPUT);
    5755  pinMode(AC_control, OUTPUT);