scheduler library DUE only ?

Hello,

what is the reason that the scheduler library is limited to DUE ?

Is it generally possible (in future) to make it available for the 328 cpu ?

thx wally

Resources. You have a lot more on the Due.

Yes, sure, i know that :)

wally123: what is the reason that the scheduler library is limited to DUE ?

The Arduino DUE has 96 KBytes of SRAM.

Therefore you won't fill up the whole RAM with "scheduler" data when using such a bunch of programming overhead with a microcontroller.

wally123: Is it generally possible (in future) to make it available for the 328 cpu ?

Similar projects are already existing for several AVR 8-bit controllers. You just would have to adapt them to Arduino.

And, IIRC, it's written partially in assembler, which makes it processor-dependent. It COULD be ported to AVR, but would end up being almost entirely different code, due to the radically different architectures of the two processor families. You can get the same effect using time callbacks on AVR.

Regards, Ray L.

jurs: The Arduino DUE has 96 KBytes of SRAM.

Therefore you won't fill up the whole RAM with "scheduler" data when using such a bunch of programming overhead with a microcontroller.

Similar projects are already existing for several AVR 8-bit controllers. You just would have to adapt them to Arduino.

Yes, this is a good hint, thank you !

ps.: anybody did this already ? :)

You can get the same effect using time callbacks on AVR.

I'll try this too, thx