Bump latest common packages (#1885)

* bump pxt

* add fixed

* bump common packages
This commit is contained in:
Peli de Halleux 2019-02-27 22:01:38 -08:00 committed by GitHub
parent 4776a47c85
commit c03d03257a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 3 deletions

View File

@ -379,6 +379,8 @@
"{id:category}Console": "Console", "{id:category}Console": "Console",
"{id:category}Control": "Control", "{id:category}Control": "Control",
"{id:category}DigitalInOutPin": "DigitalInOutPin", "{id:category}DigitalInOutPin": "DigitalInOutPin",
"{id:category}Fx": "Fx",
"{id:category}Fx8": "Fx8",
"{id:category}Game": "Game", "{id:category}Game": "Game",
"{id:category}Helpers": "Helpers", "{id:category}Helpers": "Helpers",
"{id:category}Image": "Image", "{id:category}Image": "Image",

View File

@ -44,6 +44,9 @@
"buffer.cpp", "buffer.cpp",
"buffer.ts", "buffer.ts",
"pxtparts.json", "pxtparts.json",
"advmath.cpp",
"trig.cpp",
"fixed.ts",
"parts/speaker.svg", "parts/speaker.svg",
"parts/headphone.svg" "parts/headphone.svg"
], ],

View File

@ -1,5 +1,12 @@
{ {
"servos.Servo.maxAngle": "Gets the maximum angle for the servo",
"servos.Servo.minAngle": "Gets the minimum angle for the servo",
"servos.Servo.run": "Set the throttle on a continuous servo", "servos.Servo.run": "Set the throttle on a continuous servo",
"servos.Servo.run|param|speed": "the throttle of the motor from -100% to 100%", "servos.Servo.run|param|speed": "the throttle of the motor from -100% to 100%",
"servos.Servo.setAngle": "Set the servo angle" "servos.Servo.setAngle": "Set the servo angle",
"servos.Servo.setRange": "Configure the range support by the servo between 0 and 180",
"servos.Servo.setRange|param|maxAngle": "the maximum angle from 90 to 180",
"servos.Servo.setRange|param|minAngle": "the minimum angle from 0 to 90",
"servos.Servo.setStopOnNeutral": "Sets a mode where the servo is stopped when the angle is neutral (0%).",
"servos.Servo.setStopOnNeutral|param|on": "true to enable this mode"
} }

View File

@ -5,7 +5,11 @@
"servos.Servo.run|block": "continuous %servo run at %speed=speedPicker \\%", "servos.Servo.run|block": "continuous %servo run at %speed=speedPicker \\%",
"servos.Servo.setAngle|block": "set %servo angle to %degrees=protractorPicker °", "servos.Servo.setAngle|block": "set %servo angle to %degrees=protractorPicker °",
"servos.Servo.setPulse|block": "set %servo pulse to %micros μs", "servos.Servo.setPulse|block": "set %servo pulse to %micros μs",
"servos.Servo.setRange|block": "set %servo range from %minAngle to %maxAngle",
"servos.Servo.setStopOnNeutral|block": "set %servo stop on neutral %on",
"servos.Servo.stop|block": "stop %servo", "servos.Servo.stop|block": "stop %servo",
"{id:category}Servos": "Servos", "{id:category}Servos": "Servos",
"{id:group}Servos": "Servos" "{id:group}Configuration": "Configuration",
"{id:group}Continuous": "Continuous",
"{id:group}Positional": "Positional"
} }

View File

@ -42,7 +42,7 @@
"@types/web-bluetooth": "0.0.4" "@types/web-bluetooth": "0.0.4"
}, },
"dependencies": { "dependencies": {
"pxt-common-packages": "6.4.5", "pxt-common-packages": "6.4.12",
"pxt-core": "5.5.15" "pxt-core": "5.5.15"
} }
} }