PanMillenium
Member
multi task cooperative scheduler for Teensy2 & 3 similar to java Thread with timer
Hello
here we are, I was in the idea of building a cooperative scheduler for the Arduino platform for a while.
in fact this has to do with a 20 year old personal story
I m pleased to propose this library called SCoop to provide a simple multi task/thread environement for AVR & ARM platform in the Arduino IDE environement.
In this beta 0.9 version, the file is stored in my public drop box folder here and should be unrar in your arduino sketch folder. (not libraires).
It has been tested with Arduino 1.0.2 on Teensy ++2.0 and Teensy3.0 (ARM) and Arduino Uno.
The SCoopDemo file works like a charm and perform some led blink (...) with some trace info displayed on the Serial monitor.
the PDF file aims to provide a comprehensive user guide and shall be read first to understand the philosophy of this library and why it makes a difference compared to other RTOS. I feel it is quite powerfull and easy to use. this is up to the community to judge now on
Paul, this library leverage the concepts of the Java Thread and Timer and use the famous yield() function. may be this library will be attractive and a good candidate for inclusion in your teensy core
I will provide support in the coming days in order to end up with a clean v1.0
enjoy it
Hello
here we are, I was in the idea of building a cooperative scheduler for the Arduino platform for a while.
in fact this has to do with a 20 year old personal story
I m pleased to propose this library called SCoop to provide a simple multi task/thread environement for AVR & ARM platform in the Arduino IDE environement.
In this beta 0.9 version, the file is stored in my public drop box folder here and should be unrar in your arduino sketch folder. (not libraires).
It has been tested with Arduino 1.0.2 on Teensy ++2.0 and Teensy3.0 (ARM) and Arduino Uno.
The SCoopDemo file works like a charm and perform some led blink (...) with some trace info displayed on the Serial monitor.
the PDF file aims to provide a comprehensive user guide and shall be read first to understand the philosophy of this library and why it makes a difference compared to other RTOS. I feel it is quite powerfull and easy to use. this is up to the community to judge now on
Paul, this library leverage the concepts of the Java Thread and Timer and use the famous yield() function. may be this library will be attractive and a good candidate for inclusion in your teensy core
I will provide support in the coming days in order to end up with a clean v1.0
enjoy it