#include <e_agenda_fast.h>
Data Fields | |
| char | motors |
| Agenda * | waiting |
| Agenda * | agendas [3] |
| unsigned char | timers_in_use [3] |
| unsigned | speed [3] |
We use the 3 first timers, then we need 3 pointers of the beginning of each Agenda chained list. We also have a pointer of the waiting Agenda chained list.
| char AgendaList::motors |
If an agenda's speed goes down to zero, we remove it from the list and add it to the waiting list
We use the 3 first timers
| unsigned char AgendaList::timers_in_use[3] |
Determine which one we use currently
| unsigned AgendaList::speed[3] |
Base speed 0.1 ms but use of multiplication
1.5.4