From c03d03257aa80c7ea7d815e8dee936894826e8e4 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 27 Feb 2019 22:01:38 -0800 Subject: [PATCH] Bump latest common packages (#1885) * bump pxt * add fixed * bump common packages --- libs/core/_locales/core-strings.json | 2 ++ libs/core/pxt.json | 3 +++ libs/servo/_locales/servo-jsdoc-strings.json | 9 ++++++++- libs/servo/_locales/servo-strings.json | 6 +++++- package.json | 2 +- 5 files changed, 19 insertions(+), 3 deletions(-) diff --git a/libs/core/_locales/core-strings.json b/libs/core/_locales/core-strings.json index bee98a3c..2bfbe292 100644 --- a/libs/core/_locales/core-strings.json +++ b/libs/core/_locales/core-strings.json @@ -379,6 +379,8 @@ "{id:category}Console": "Console", "{id:category}Control": "Control", "{id:category}DigitalInOutPin": "DigitalInOutPin", + "{id:category}Fx": "Fx", + "{id:category}Fx8": "Fx8", "{id:category}Game": "Game", "{id:category}Helpers": "Helpers", "{id:category}Image": "Image", diff --git a/libs/core/pxt.json b/libs/core/pxt.json index b09b4390..73eb7d6f 100644 --- a/libs/core/pxt.json +++ b/libs/core/pxt.json @@ -44,6 +44,9 @@ "buffer.cpp", "buffer.ts", "pxtparts.json", + "advmath.cpp", + "trig.cpp", + "fixed.ts", "parts/speaker.svg", "parts/headphone.svg" ], diff --git a/libs/servo/_locales/servo-jsdoc-strings.json b/libs/servo/_locales/servo-jsdoc-strings.json index e321e670..df01b8b9 100644 --- a/libs/servo/_locales/servo-jsdoc-strings.json +++ b/libs/servo/_locales/servo-jsdoc-strings.json @@ -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|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" } \ No newline at end of file diff --git a/libs/servo/_locales/servo-strings.json b/libs/servo/_locales/servo-strings.json index cab9b102..b25e3ae5 100644 --- a/libs/servo/_locales/servo-strings.json +++ b/libs/servo/_locales/servo-strings.json @@ -5,7 +5,11 @@ "servos.Servo.run|block": "continuous %servo run at %speed=speedPicker \\%", "servos.Servo.setAngle|block": "set %servo angle to %degrees=protractorPicker °", "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", "{id:category}Servos": "Servos", - "{id:group}Servos": "Servos" + "{id:group}Configuration": "Configuration", + "{id:group}Continuous": "Continuous", + "{id:group}Positional": "Positional" } \ No newline at end of file diff --git a/package.json b/package.json index 114b967a..2f8f39d5 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@types/web-bluetooth": "0.0.4" }, "dependencies": { - "pxt-common-packages": "6.4.5", + "pxt-common-packages": "6.4.12", "pxt-core": "5.5.15" } }