Is there any alternative to OS_delay_us()?
Posted: Fri Aug 21, 2015 6:45 am
Hi Folks,
I need to use OS_delay_us(9000) almost 30-40 times a second. This works fine but causes the WiFi to disconnect and esp8266 to reset.
I tried to use timers but they are not precise enough.
There was something like hw_timer() mentioned in the programming guide but I could not find any reference to it! does anyone know anything about it? or is there any other way to this?
I need to use OS_delay_us(9000) almost 30-40 times a second. This works fine but causes the WiFi to disconnect and esp8266 to reset.
I tried to use timers but they are not precise enough.
There was something like hw_timer() mentioned in the programming guide but I could not find any reference to it! does anyone know anything about it? or is there any other way to this?