updated signatures
This commit is contained in:
parent
92178f3371
commit
11a88a9d94
@ -68,7 +68,7 @@
|
|||||||
"motors.Motor.tachoCount": "Gets motor tacho count.",
|
"motors.Motor.tachoCount": "Gets motor tacho count.",
|
||||||
"motors.Motor.turn": "Turns the motor and the follower motor by a number of rotations",
|
"motors.Motor.turn": "Turns the motor and the follower motor by a number of rotations",
|
||||||
"motors.Motor.turn|param|speed": "the speed from ``100`` full forward to ``-100`` full backward, eg: 50",
|
"motors.Motor.turn|param|speed": "the speed from ``100`` full forward to ``-100`` full backward, eg: 50",
|
||||||
"motors.Motor.turn|param|turnRatio": "the ratio of power sent to the follower motor, from -200 to 200",
|
"motors.Motor.turn|param|turnRatio": "the ratio of power sent to the follower motor, from ``-200`` to ``200``",
|
||||||
"motors.Motor.turn|param|unit": "the meaning of the value",
|
"motors.Motor.turn|param|unit": "the meaning of the value",
|
||||||
"motors.Motor.turn|param|value": "the move quantity, eg: 2",
|
"motors.Motor.turn|param|value": "the move quantity, eg: 2",
|
||||||
"motors.stopAllMotors": "Stops all motors",
|
"motors.stopAllMotors": "Stops all motors",
|
||||||
|
@ -312,7 +312,7 @@ namespace motors {
|
|||||||
* @param value the move quantity, eg: 2
|
* @param value the move quantity, eg: 2
|
||||||
* @param unit the meaning of the value
|
* @param unit the meaning of the value
|
||||||
* @param speed the speed from ``100`` full forward to ``-100`` full backward, eg: 50
|
* @param speed the speed from ``100`` full forward to ``-100`` full backward, eg: 50
|
||||||
* @param turnRatio the ratio of power sent to the follower motor, from -200 to 200
|
* @param turnRatio the ratio of power sent to the follower motor, from ``-200`` to ``200``
|
||||||
*/
|
*/
|
||||||
//% blockId=motorTurn block="turn `icons.motorLarge` %motor|by %value|%unit|at %speed|% turn %turnRadio"
|
//% blockId=motorTurn block="turn `icons.motorLarge` %motor|by %value|%unit|at %speed|% turn %turnRadio"
|
||||||
//% weight=9 blockGap=8
|
//% weight=9 blockGap=8
|
||||||
|
Loading…
Reference in New Issue
Block a user