31 digitalWrite(13, flag);
66 Serial.print(
"start ");
70 Serial.println(
"bef gogo");
73 Serial.println(
"shit - should not come here");
char k_receive(struct k_msg_t *pB, void *el, int timeout, int *lost_msg)
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
char k_send(struct k_msg_t *pB, void *el)
int k_init(int nrTask, int nrSem, int nrMsg)
struct k_msg_t * k_crt_send_Q(int nr_el, int el_size, void *pBuf)