scheduler librairy

Hi,
I need to use the Scheduler library in my program on a card Arduino Uno. I've downloaded it ( ), and then I have tried an example found on this address : Scheduler - Arduino Reference.
But I have an error message, and I do not understand why !!! Thank you for your help :slight_smile:

Here is the message :
In file included from sketch_feb26a.ino:1:
U:\Documents\Arduino\libraries\Scheduler/Scheduler.h:62: error: 'byte' does not name a type
U:\Documents\Arduino\libraries\Scheduler/Scheduler.h:64: error: 'NUMBER_OF_SCHEDULED_ACTIONS' was not declared in this scope
U:\Documents\Arduino\libraries\Scheduler/Scheduler.h:65: error: 'byte' does not name a type
sketch_feb26a.ino: In function 'void setup()':
sketch_feb26a:9: error: expected unqualified-id before '.' token
sketch_feb26a.ino: In function 'void loop1()':
sketch_feb26a:28: error: 'yield' was not declared in this scope

At your link, I see another link to Scheduler and I read:
“The Scheduler library enables the Arduino Due to run multiple…”
Are you sure you can use this library on Arduino Uno?
Do you have a link to library download?

nid69ita:
At your link, I see another link to Scheduler and I read:
“The Scheduler library enables the Arduino Due to run multiple…”
Are you sure you can use this library on Arduino Uno?
Do you have a link to library download?

He’s right. From my understanding, this is a threading library which relies on the RTOS running on the Due’s Arm processor in order to work. I don’t think the Uno will be able to use it.