Comments (4)
Forgot to mention I ran it on an Arduino Pro Mini 5V 16Mhz with IDE 1.6.5
from taskscheduler.
Please post your modified code here. I think I know what causes it, but want to make sure.
from taskscheduler.
Sorry, didn't realize code was attached.
This is caused by the delay (5000) statement at the end of setup().
Tasks were enabled before. Delay blocks there execution for 5 sec, so first 4 cycles they "catch up".
Try without delay or enable tasks after delay.
from taskscheduler.
Check the most recent example 1 please. This is how it is done there.
from taskscheduler.
Related Issues (20)
- V3.7.0 kills ESP32 WiFi HOT 2
- Scheduler not executing on ESP8266 HOT 3
- fluently change task interval, within another tasks periodicity HOT 5
- Least possible scheduling time HOT 9
- Set the core where a task execute HOT 2
- Declare task to run with delay HOT 2
- Keep trying if 'onEnable' fails HOT 8
- Method to get the name of the Callback registered in the Task HOT 7
- Async Webserver problem HOT 10
- esp32-c3 freezing after for tasks over 5800ms with _TASK_SLEEP_ON_IDLE_RUN. Regular esp32 works fine. HOT 2
- Library Suggestion HOT 1
- TaskScheduler Task Callbacks With OO in Callback HOT 2
- ODR Violation With Multiple Uses of TaskScheduler Throughout a Project HOT 1
- The banner link in README.md isn't working. HOT 1
- Compilation error when try to warp TaskScheduler's Task and execute() in a class HOT 2
- `_TASK_STD_FUNCTION` should be for everyone.
- enableDelayed() calls Callback immediately HOT 2
- C++ compiler warning: compound assignment with 'volatile'-qualified left operand is deprecated HOT 14
- "multiple definition of" linker errors if TaskScheduler.h included in multiple header/source files HOT 4
- Task.isEnabled() crashes ESP8266 when run in interrupt HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taskscheduler.