I've been "porting" an Arduino code example and been successfully converting it so far (not much to change other than removing the datatypes) and the code uses delayMicroseconds. Is there a similar way to achieve this in Espruino?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I've been "porting" an Arduino code example and been successfully converting it so far (not much to change other than removing the datatypes) and the code uses
delayMicroseconds
. Is there a similar way to achieve this in Espruino?The code is basically: