It goes to +90, demonstrating the full 180 degrees of motion... but the servo module doesn't seem to support it. They require either 1 (-90), 1.5 (0 or middle) or 2ms (+90) pulses at 50Hz
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.
Hi folks
Just had a set of SG90 servos delivered and having trouble with the servo module.
The example here: http://www.espruino.com/Servo+Motors#line=13,25,26 shows it moving from 0 to 1, which is actually only 90 degrees, not 180 as these servos support.
If you use:
It goes to -90 ... and
It goes to +90, demonstrating the full 180 degrees of motion... but the servo module doesn't seem to support it. They require either 1 (-90), 1.5 (0 or middle) or 2ms (+90) pulses at 50Hz
Any help would be appreciated.