mobizt / Firebase-ESP32

[DEPRECATED]🔥 Firebase RTDB Arduino Library for ESP32. The complete, fast, secured and reliable Firebase Arduino client library that supports CRUD (create, read, update, delete) and Stream operations.
MIT License
415 stars 118 forks source link

Does this arduino library block some GPIO ports when reading the RTDB? #325

Closed CerMax closed 6 months ago

CerMax commented 6 months ago

I was trying to run a stepper motor through an ESP32 where the speed is determined by the value given in the firebase but every time the ESP tries to read the firebase data it stops the stepper motor. Might be a GPIO issue or the Stepper motor library I am using but knowing if the firebase library does any blocking action would be beneficial. i can't really post my code due to NDA restrictions

mobizt commented 6 months ago

It is not async library, mcu may take time for waiting during sending and reading data.

You can run your code on another RTOS task that can run with higher priority.

mobizt commented 6 months ago

You can try this new async Firebase client library.

CerMax commented 6 months ago

Thank you, i appreciate you for taking the time out of your day for solving my query