I’ve found some ‘servo’ support in both:
- Pins ( https://github.com/microsoft/pxt-common-packages/blob/9c7b6e3f7b11a1f1d9f53ae6dec235a0619c31a0/libs/core/pinsPWM.cpp#L26 )
- Servo extension ( https://github.com/microsoft/pxt-common-packages/blob/9c7b6e3f7b11a1f1d9f53ae6dec235a0619c31a0/libs/servo/servo.ts#L2 )
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.)