
unsigned t0;
t0 = timer_value;
while ((timer_value - t0) < delay) ;
