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