I learned a little bit about servo class, digitalPulse and analogWrite, but I am struggling on sequencing multiple moves one after the other. Javascript isn't quite optimal for such sequences.
Did anyone implement Promises for servo control?
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.
Did anyone ever tried to replicate such smooth robot movements on Espruino? https://youtu.be/Of2TmVZtMCo
I learned a little bit about
servo
class,digitalPulse
andanalogWrite
, but I am struggling on sequencing multiple moves one after the other. Javascript isn't quite optimal for such sequences.Did anyone implement
Promises
for servo control?