sighmon / co2_sensor_scd4x_esp32_http_server

An Arduino sketch for the Adafruit SCD4X and SCD-30 CO2 sensor running on an ESP32 with an http server.
MIT License
7 stars 2 forks source link

Acutally execute TaskScheduler #5

Closed emanuelduss closed 9 months ago

emanuelduss commented 9 months ago

Hi

Thanks a lot for this repo. I could use it as a good template in a project.

I had the problem that the scheduled task was never executed.

The changes made it work. So you may want to merge it.

Best, Mänu

sighmon commented 9 months ago

@emanuelduss Which hardware are you running on?

I did a bunch more work on this branch for a QT Py: https://github.com/sighmon/co2_sensor_scd4x_esp32_http_server/compare/main...add/4-adafruit-qt-py-esp32-c3

So might have to revisit what should be merged back into the main branch, and for what microcontroller.

emanuelduss commented 9 months ago

It looks like the QT Py branch contains the required code to run the scheduled task. Also, this PR contains more commits than I expected. I only wanted to make a PR for fc79e5e. So for me it's OK to close the PR :).