37 for (
int i = 8;
i < 14;
i++)
47 Serial.println(
"If you see this then krnl didnt start :-( ");
81 PORTB = (1 <<
pRun->nr);
void k_sem_clip(unsigned char nr, int i)
void k_sem_unclip(unsigned char nr)
void k_eat_msec(unsigned int eatTime)
eat milliseconds - to mimik time consuming code
int k_sleep(int time)
let task sleep for a number of milliseconds
struct k_t * k_crt_task(void(*pTask)(void), char prio, char *pStk, int stkSize)
create a task - only to be called before k_start creates a task and put it in the active Q
int k_init(int nrTask, int nrSem, int nrMsg)