這個是我編寫的程式,請各位大大過目一下:
#include <SoftwareSerial.h>
#define RX 2
#define TX 3
int fsrAnalogPin = 0;
String AP = "Test"; // CHANGE ME
String PASS = "testtest"; // CHANGE ME
String HOST = "...";
String PORT = "80";
int countTrueCommand;
int countTimeCommand;
boolean found = false;
int fsrReading;
int fsrReading2;
int fsrReading3;
int Seats1 = 0;
int Seats2 = 0;
int Seats3 = 0;
int result = 0;
SoftwareSerial esp8266(RX,TX);