i am trying to sent data from esp 32 to firebase i have installed the firebase esp 32.h file as well the main error is about firebase.setfloat [closed]

this is the error i am encountering every single time

C:\Users\Hp\Documents\Arduino\libraries\DHT-sensor-library-master\esp32l298n_videoCode\esp32l298n_videoCode.ino: In function ‘void setup()’:

C:\Users\Hp\Documents\Arduino\libraries\DHT-sensor-library-master\esp32l298n_videoCode\esp32l298n_videoCode.ino:25:46: error: no matching function for call to ‘FirebaseESP32::begin(const char [69], const char [40])’
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
^

In file included from c:\Users\Hp\Documents\Arduino\libraries\DHT-sensor-library-master\libraries\Firebase_ESP32_Client\src/FirebaseESP32.h:42,
from C:\Users\Hp\Documents\Arduino\libraries\DHT-sensor-library-master\esp32l298n_videoCode\esp32l298n_videoCode.ino:2:
c:\Users\Hp\Documents\Arduino\libraries\DHT-sensor-library-master\libraries\Firebase_ESP32_Client\src/Firebase.h:133:8: note: candidate: ‘void FirebaseESP32::begin(FirebaseConfig*, FirebaseAuth*)’
void begin(FirebaseConfig config, FirebaseAuth auth);
^~~~~
c:\Users\Hp\Documents\Arduino\libraries\DHT-sensor-library-master\libraries\Firebase_ESP32_Client\src/Firebase.h:133:8: note: no known conversion for argument 1 from ‘const char [69]’ to ‘FirebaseConfig
‘ {aka ‘firebase_cfg_t’}

exit status 1

Compilation error: no matching function for call to ‘FirebaseESP32::begin(const char [69], const char [40])’

i am excepting the data in my firebase

Leave a Comment