void blink() { while (1) { lib_sleep_thread(500); lib_red_toggle(); counter++; } return; }
void testblink() { while(1) { test = 0.123; for (counter =0; counter<5; counter++) test = test*2; if (test > 10) lib_red_toggle(); } return; }