Simple cooperative multitask helper for Arduino
See my video on YouTube for more explanation https://youtu.be/aGwHYCcQ3Io
Simple cooperative multitask helper for Arduino
License: GNU General Public License v3.0
Simple cooperative multitask helper for Arduino
See my video on YouTube for more explanation https://youtu.be/aGwHYCcQ3Io
J'ai converti ton code en une version Librairie Arduino Standard. :-p
Tu peux l'essayer dans ma Branche "ArduinoLib", à : https://github.com/soif/Cath/tree/ArduinoLib
Le "remote repo" a rajouter: https://github.com/soif/Cath.git
Je n'ai pas testé sur le hardware, mais ca compile bien, sur Arduino IDE + PlatformIO
Si ca te branche de merger ça, je te fairais un PR (à ta demande), une fois que tu aurais validé que ca marche toujours bien sur le hardware...
PS: Pour finaliser, ensuite, il faudrait certainement que les 2 defines (CATH_MAX_TASKS et CATH_SMALL_COUNTER) puissent etre définis (optionellement) dans le sketch principal, et non plus seulement au niveau de la librairie.... J'ai eu beau essayé, ça dépasse mes maigres aptitudes en C++ & directives de compilateur.... Si ca te dis...
HTH
hello petit idée j'ai ajouter ca a cath,
ca peut etre pas mal d'avoir ca
a voir si tu veut l'intégrer ou un équivalent dans cath ou non
//..............................................................
// not from original cath library
// allow to chancge call period using the task index in S_CathTasks
// with task index n : the n ieme task that have called S_Register
// task index start with 0
static void S_change_period(uint8_t task,CathCnt new_period){
Cath::S_CathTasks[task]->m_LoopDelay = new_period;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.