Compilation error
I'm using ESP8266. I wanted to speak this wifi module to firebase. So I googled a found a library. I used example programs first. But while compiling the firebaseArudino.h doesn't runs properly and throws back an error Arduino: 1.6.11 (Linux), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"
/home/chandrakumar/Arduino/libraries/firebase-arduino-master/src/thing/FireThing.cpp:17:3: error: 'D1' was not declared in this scope D1, // digital in ^ /home/chandrakumar/Arduino/libraries/firebase-arduino-master/src/thing/FireThing.cpp:20:3: error: 'D1' was not declared in this scope D1, // analog out ^ /home/chandrakumar/Arduino/libraries/firebase-arduino-master/src/thing/FireThing.cpp:21:3: error: 'D0' was not declared in this scope D0, // config mode button ^ exit status 1 Error compiling for board Generic ESP8266 Module.
Same experience when compiling for board: Adafruit HUZZAH ESP8266
Use nodemcu v1.0 as a board
Thanks! Works for me, I noticed now that it was already one of the steps in the README.md
- Select the board Board > ESP8266 Modules > NodeMCU 1.0
Should be fixed with https://github.com/firebase/firebase-arduino/pull/241
Downgrade ArduinoJson to 5.13.1 Download FirebaseArduino library from https://github.com/FirebaseExtended/firebase-arduino.git