|
Arduino:1.6.9 (Windows 7), 开发板:"Arduino Nano, ATmega328"
C:\Users\Administrator\AppData\Local\Temp\HZ$D.283.2145\HZ$D.283.2146\remoteSwitch\remoteSwitch.ino:14:16: warning: overflow in implicit constant conversion [-Woverflow]
int deviceId = 347973;
^
C:\Users\Administrator\AppData\Local\Temp\HZ$D.283.2145\HZ$D.283.2146\remoteSwitch\remoteSwitch.ino:15:16: warning: overflow in implicit constant conversion [-Woverflow]
int sensorId = 389020;
^
remoteSwitch:17: error: 'WiFiClient' does not name a type
WiFiClient client;
^
C:\Users\Administrator\AppData\Local\Temp\HZ$D.283.2145\HZ$D.283.2146\remoteSwitch\remoteSwitch.ino: In function 'void setup()':
remoteSwitch:24: error: 'WiFi' was not declared in this scope
WiFi.mode(WIFI_AP_STA); //set work mode: WIFI_AP /WIFI_STA /WIFI_AP_STA
^
remoteSwitch:24: error: 'WIFI_AP_STA' was not declared in this scope
WiFi.mode(WIFI_AP_STA); //set work mode: WIFI_AP /WIFI_STA /WIFI_AP_STA
^
remoteSwitch:36: error: 'WL_CONNECTED' was not declared in this scope
while (WiFi.status() != WL_CONNECTED) {
^
C:\Users\Administrator\AppData\Local\Temp\HZ$D.283.2145\HZ$D.283.2146\remoteSwitch\remoteSwitch.ino: In function 'void loop()':
remoteSwitch:50: error: 'client' was not declared in this scope
if (!client.connect(host, tcpPort)) {
^
remoteSwitch:63: error: 'client' was not declared in this scope
client.print(String("GET ") + url + " HTTP/1.1\r\n" +
^
exit status 1
'WiFiClient' does not name a type
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|
|