support for hex template (#1913)

This commit is contained in:
Peli de Halleux 2019-03-12 08:25:48 -07:00 committed by GitHub
parent cd1bff155f
commit cd750f51a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 6 deletions

View File

@ -47,6 +47,7 @@
"advmath.cpp",
"trig.cpp",
"fixed.ts",
"templates.ts",
"parts/speaker.svg",
"parts/headphone.svg"
],

View File

@ -4,9 +4,11 @@
"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.setRange": "Configure the range support by the servo between 0 and 180",
"servos.Servo.setPulse": "Set the pulse width to the servo in microseconds",
"servos.Servo.setPulse|param|micros": "the width of the pulse in microseconds",
"servos.Servo.setRange": "Set the possible rotation range angles for 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"
"servos.Servo.setStopOnNeutral": "Set a servo stop mode so it will stop when the rotation angle is in the neutral position, 90 degrees.",
"servos.Servo.stop": "Stop sending commands to the servo so that its rotation will stop at the current position."
}

View File

@ -6,7 +6,7 @@
"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.setStopOnNeutral|block": "set %servo stop on neutral %enabled",
"servos.Servo.stop|block": "stop %servo",
"{id:category}Servos": "Servos",
"{id:group}Configuration": "Configuration",

View File

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