ESP8266 연결 & 이더넷 동작 테스트
우노빅보드 디지털핀 2번, 3번과 ESP8266 RX, TX를 연결합니다. 소프트웨어 시리얼을 이용하여 ESP8266을 사용합니다. #include #define DEBUG true #define RXPIN 3 #define TXPIN 2 SoftwareSerial esp8266Serial(RXPIN,TXPIN); //Pin 5 & 3 of Arduino as RX and TX. Connect TX and RX of ESP8266 respectively. String esp8266Data(String command, const int timeout, boolean debug) { String response = ""; esp8266Serial.print(command); long int time = mi..