WARNING: Category 'Robotics' in library Olympic Robotic Challenge is not valid. Setting to 'Uncategorized' Build options changed, rebuilding all C:UsersleanAppDataLocalTemparduino_modified_sketch_633600websocketJson.ino: In function 'void webSocketEvent(WStype_t, uint8_t*, size_t)':
websocketJson:35: error: 'class ArduinoJson::JsonObject' has no member named 'succes'
if(!root.succes()){
^
websocketJson:43: error: lvalue required as left operand of assignment
if(nodeid != NULL && nodeid = myNodeId){
^
websocketJson:46: error: 'LED1' was not declared in this scope
if(led == "1") digitalWrite(LED1, HIGH);
^
websocketJson:49: error: 'LED1' was not declared in this scope
if(led == "1") digitalWrite(LED1, LOW);
^
websocketJson:54: error: 'Str' was not declared in this scope
webSocket.sendTXT(Str);
^
C:UsersleanAppDataLocalTemparduino_modified_sketch_633600websocketJson.ino: In function 'void setup()':
websocketJson:66: error: 'LED1' was not declared in this scope
pinMode(LED1, OUTPUT);
^
websocketJson:70: error: 'class ESP8266WiFiClass' has no member named 'ststus'
while(WiFi.ststus() != WL_CONNECTED){
^
websocketJson:80: error: 'WebSocketEvent' was not declared in this scope
webSocket.onEvent(WebSocketEvent);
^
Multiple libraries were found for "ArduinoJson.h" Used: C:UsersleanDocumentsArduinolibrariesArduinoJson Not used: C:UsersleanDocumentsArduinolibrariesarduino_621499 Multiple libraries were found for "ESP8266WiFi.h" Used: C:UsersleanDocumentsArduinolibrariesESP8266WiFi Not used: C:UsersleanAppDataLocalArduino15packagesesp8266hardwareesp82662.4.1librariesESP8266WiFi Multiple libraries were found for "Hash.h" Used: C:UsersleanDocumentsArduinolibrariesHash Not used: C:UsersleanAppDataLocalArduino15packagesesp8266hardwareesp82662.4.1librariesHash exit status 1 'class ArduinoJson::JsonObject' has no member named 'succes'
This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
kapung kaah… need this with english substitile
Nice video! Thank You!
อาจารย์ครับ ผมลอง ศึกษา ตามคลิปของอาจารย์ ลองเขียน codeตาม อาจารย์ สอนน ทุกอย่าง แต่เจอ error ตรงนี้ครับ รบกวนอาจารย์ ช่วยแนะนำหน่อยครับ ผมลอง หาแก้แล้วครับ แต่ผม หาไม่เจอ ผม ยังมือใหม่ครับ พึ่งเริ่มศึกษา ครับ รบกวน อาจารย์ ช่วยแนะนำ ด้วยนะ ครับ ขอบคุณครับผม
Arduino: 1.8.5 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
WARNING: Category 'Robotics' in library Olympic Robotic Challenge is not valid. Setting to 'Uncategorized'
Build options changed, rebuilding all
C:UsersleanAppDataLocalTemparduino_modified_sketch_633600websocketJson.ino: In function 'void webSocketEvent(WStype_t, uint8_t*, size_t)':
websocketJson:35: error: 'class ArduinoJson::JsonObject' has no member named 'succes'
if(!root.succes()){
^
websocketJson:43: error: lvalue required as left operand of assignment
if(nodeid != NULL && nodeid = myNodeId){
^
websocketJson:46: error: 'LED1' was not declared in this scope
if(led == "1") digitalWrite(LED1, HIGH);
^
websocketJson:49: error: 'LED1' was not declared in this scope
if(led == "1") digitalWrite(LED1, LOW);
^
websocketJson:54: error: 'Str' was not declared in this scope
webSocket.sendTXT(Str);
^
C:UsersleanAppDataLocalTemparduino_modified_sketch_633600websocketJson.ino: In function 'void setup()':
websocketJson:66: error: 'LED1' was not declared in this scope
pinMode(LED1, OUTPUT);
^
websocketJson:70: error: 'class ESP8266WiFiClass' has no member named 'ststus'
while(WiFi.ststus() != WL_CONNECTED){
^
websocketJson:80: error: 'WebSocketEvent' was not declared in this scope
webSocket.onEvent(WebSocketEvent);
^
Multiple libraries were found for "ArduinoJson.h"
Used: C:UsersleanDocumentsArduinolibrariesArduinoJson
Not used: C:UsersleanDocumentsArduinolibrariesarduino_621499
Multiple libraries were found for "ESP8266WiFi.h"
Used: C:UsersleanDocumentsArduinolibrariesESP8266WiFi
Not used: C:UsersleanAppDataLocalArduino15packagesesp8266hardwareesp82662.4.1librariesESP8266WiFi
Multiple libraries were found for "Hash.h"
Used: C:UsersleanDocumentsArduinolibrariesHash
Not used: C:UsersleanAppDataLocalArduino15packagesesp8266hardwareesp82662.4.1librariesHash
exit status 1
'class ArduinoJson::JsonObject' has no member named 'succes'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
WebSocket.begin(" ",1880); ถ้าเรา เปลี่ยนเครื่อง หรือ เอาไปใช้ ที่อื่น ต้อง เปลี่ยนใช้ไหม ครับ อาจารย์