Microsoft MakeCode

Servo support at maker.makecode.com - pins vs servo extension

I’ve found some ‘servo’ support in both:

However the ‘Servo’ extension doesn’t work, no Blocks appear:

That might be user error. However the inclusion of servo features in both Pins and Servo seems confusing. It previously was attempted to be taken out of Pins, but put back: https://github.com/microsoft/pxt-common-packages/pull/125 , and then later the Servo extension appeared anyway https://github.com/microsoft/pxt-common-packages/pull/333

What do people use for Servos? Should I make a github issue for this? (Maybe two - the duplication of functionality, and that Servo extension doesn’t show the blocks).

(I’ve only used https://maker.makecode.com/ , not tried running locally yet.)

1 Like

Did you ever find an answer to this question? I’m also trying to use makecode with an Adafruit device (both Metro M0 express and Feather M0 express) and servos and wondering the same thing.

The servo extension offers more servo features - like support for continuous rotation servos - but the servo menu is empty after installation in projects for both metro m0 express and feather m0 express.

No, I didn’t touch the Metro M0 Express for a while, I started to use a Crickit instead. I do have a local dev environment now (used for https://github.com/adafruit/pxt-crickit/pull/17 ) so if I use the Express again maybe I can debug the servo extension.

1 Like

:+1: I picked up a Crickit as well, so definitely will lean into that for servo stuff

Was just hoping to get some more mileage out of a few older boards I had around.

1 Like