Skip to content

hirolab/servo-motor-speed-control

 
 

Repository files navigation

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

Usage

shouldermotorspeed

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

basic.forever(function () {
    shouldermotorspeed.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)

  • for PXT/microbit
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>

About

use pulse signals to control the speed of servo motors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.6%
  • Ruby 5.8%
  • Makefile 5.6%