This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#include <SoftwareSerial.h> | |
//use mega Serial 2 for serial monitor; Serial 1 on pins 19 (RX) and 18 (TX);// Serial2 on pins 17 (RX) and 16 (TX), Serial3 on pins 15 (RX) and 14 (TX). | |
#define SSID "enter SSID here" | |
#define PASS "enter password here" | |
#define DST_IP "220.181.111.85" //baidu.com | |
//SoftwareSerial dbgSerial(10, 11); // RX, TX | |
void setup() | |
{ | |
// Open serial communications and wait for port to open: |