Servo library support (#1343)

* ateempt at bringin servos

* basic plumbing

* avoid math map duplicate

* missing parts annontation

* pretify parts

* extend appcompat layer

* updated strings

* more compat layer

* annotations

* don't rely on webmidi

* updated pxt ref

* bump pxt

* adding whenUsed

* updated v1 readme

* more pins

* more pins

* compress the parts definition

* update common packages
This commit is contained in:
Peli de Halleux
2018-10-05 11:09:08 -07:00
committed by GitHub
parent fd954ed6f8
commit 9002edbb22
15 changed files with 333 additions and 43 deletions

View File

@ -111,16 +111,18 @@
"orientation": "+Z"
}
],
"instantiation": {
"kind": "function",
"fullyQualifiedName": "pins.servoWritePin",
"argumentRoles": [
{
"pinInstantiationIdx": 0,
"partParameter": "name"
}
]
},
"instantiations": [
{
"kind": "function",
"fullyQualifiedName": "pins.servoWritePin,pins.servoSetPulse,PwmOnlyPin.servoWrite,PwmOnlyPin.servoSetPulse,servos.Servo.setAngle,servos.Servo.run,servos.Servo.setPulse",
"argumentRoles": [
{
"pinInstantiationIdx": 0,
"partParameter": "name"
}
]
}
],
"assembly": [
{
"part": true,