firebase-arduino icon indicating copy to clipboard operation
firebase-arduino copied to clipboard

Compilation error

Open dreamerchandra opened this issue 9 years ago • 5 comments

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.

dreamerchandra avatar Feb 04 '17 16:02 dreamerchandra

Same experience when compiling for board: Adafruit HUZZAH ESP8266

timtimmytime avatar Mar 08 '17 01:03 timtimmytime

Use nodemcu v1.0 as a board

dreamerchandra avatar Mar 08 '17 19:03 dreamerchandra

Thanks! Works for me, I noticed now that it was already one of the steps in the README.md

  1. Select the board Board > ESP8266 Modules > NodeMCU 1.0

timtimmytime avatar Mar 13 '17 21:03 timtimmytime

Should be fixed with https://github.com/firebase/firebase-arduino/pull/241

proppy avatar Apr 10 '17 09:04 proppy

Downgrade ArduinoJson to 5.13.1 Download FirebaseArduino library from https://github.com/FirebaseExtended/firebase-arduino.git

arnabGudu avatar Mar 01 '19 10:03 arnabGudu