In file included from C:\Users\Nuba\Documents\Arduino\libraries\firebase-arduino-master\src/Firebase.h:30:0, from C:\Users\Nuba\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseArduino.h:22, from C:\Users\Nuba\Documents\Arduino\TempHumidityDataToFirebase\TempHumidityDataToFirebase.ino:3: C:\Users\Nuba\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseObject.h:109:11: error: StaticJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_; ^ In file included from C:\Users\Nuba\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseArduino.h:22:0, from C:\Users\Nuba\Documents\Arduino\TempHumidityDataToFirebase\TempHumidityDataToFirebase.ino:3: C:\Users\Nuba\Documents\Arduino\libraries\firebase-arduino-master\src/Firebase.h:86:11: error: StaticJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 std::shared_ptr<StaticJsonBuffer<FIREBASE_JSONBUFFER_SIZE>> buffer_;
exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).
Kh Nuba
Permalinki'd like to provide more details regarding my first post.
I installed lattest version of ArduinoJson (6.10.0) library and include the following in my ino program
#include <ArduinoJson.h>
#include <ESP8266WiFi.h>
#include <FirebaseArduino.h>
#include <DHT.h>
#include <Adafruit_Sensor.h>
But the following error is occured and cant resolve.
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
- Log in or register to post comments
Joined March 22, 2019 2Friday at 03:01 AM