sync command working

This commit is contained in:
Peli de Halleux
2017-12-12 14:08:45 -08:00
parent 7557380722
commit 113b42656c
3 changed files with 36 additions and 3 deletions

View File

@ -63,6 +63,9 @@
"motors.Motor.speed": "Gets motor actual speed.",
"motors.Motor.stop": "Stops the motor",
"motors.Motor.tachoCount": "Gets motor tacho count.",
"motors.setSyncSpeed": "Synchronizes this motor with another motor.",
"motors.setSyncSpeed|param|speed": "the power applied to the motor, eg: 50",
"motors.setSyncSpeed|param|turnRatio": "the ratio of the master power applied to this motor, eg: 100",
"motors.stopAllMotors": "Stops all motors",
"output.createBuffer": "Create a new zero-initialized buffer.",
"output.createBuffer|param|size": "number of bytes in the buffer",

View File

@ -14,6 +14,7 @@
"LightsPattern.Red|block": "Red",
"Output.ALL|block": "All",
"Output.A|block": "A",
"Output.BC|block": "B+C",
"Output.B|block": "B",
"Output.C|block": "C",
"Output.D|block": "D",
@ -51,6 +52,7 @@
"motors.mediumMotorB|block": "medium B",
"motors.mediumMotorC|block": "medium C",
"motors.mediumMotorD|block": "medium D",
"motors.setSyncSpeed|block": "set sync speed B+C with %turnRatio|turn ratio at %speed|% speed",
"motors.stopAllMotors|block": "stop all `icons.motorLarge`",
"motors|block": "motors",
"output|block": "output",