This commit is contained in:
Juri
2020-08-19 22:03:58 +02:00
parent 4ef7b9318f
commit 3152215415
291 changed files with 9511 additions and 2966 deletions

View File

@ -0,0 +1,14 @@
{
"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.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": "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

@ -0,0 +1,14 @@
{
"servos.P0|block": "servo P0",
"servos.P3|block": "servo P3",
"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 %enabled",
"servos.Servo.stop|block": "stop %servo",
"{id:category}Servos": "Servos",
"{id:group}Configuration": "Configuration",
"{id:group}Continuous": "Continuous",
"{id:group}Positional": "Positional"
}