View on GitHub

servo-motor-speed-control

use pulse signals to control the speed of servo motors

Open this page at https://alexwurobot.github.io/servo-motor-speed-control/

Usage

SetTurnSpeed

Use the SetTurnSpeed block to control the direction and speed of the P0 servo motor.

basic.forever(function () {
    SetServoSpeed.SetTurnSpeed(input.acceleration(Dimension.X),2)
})

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project Build status badge

To edit this repository in MakeCode.

Blocks preview

This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.

A rendered view of the blocks

Metadata (used for search, rendering)