moving motor properties to lower group (#403)
This commit is contained in:
parent
9c3be9fe37
commit
3339a7660a
@ -164,7 +164,7 @@ namespace motors {
|
|||||||
*/
|
*/
|
||||||
//% blockId=outputMotorSetBrakeMode block="set %motor|brake %brake=toggleOnOff"
|
//% blockId=outputMotorSetBrakeMode block="set %motor|brake %brake=toggleOnOff"
|
||||||
//% weight=60 blockGap=8
|
//% weight=60 blockGap=8
|
||||||
//% group="Move"
|
//% group="Properties"
|
||||||
//% help=motors/motor/set-brake
|
//% help=motors/motor/set-brake
|
||||||
setBrake(brake: boolean) {
|
setBrake(brake: boolean) {
|
||||||
this.init();
|
this.init();
|
||||||
@ -176,7 +176,7 @@ namespace motors {
|
|||||||
*/
|
*/
|
||||||
//% blockId=motorSetInverted block="set %motor|inverted %reversed=toggleOnOff"
|
//% blockId=motorSetInverted block="set %motor|inverted %reversed=toggleOnOff"
|
||||||
//% weight=59 blockGap=8
|
//% weight=59 blockGap=8
|
||||||
//% group="Move"
|
//% group="Properties"
|
||||||
//% help=motors/motor/set-inverted
|
//% help=motors/motor/set-inverted
|
||||||
setInverted(inverted: boolean) {
|
setInverted(inverted: boolean) {
|
||||||
this.init();
|
this.init();
|
||||||
@ -344,7 +344,7 @@ namespace motors {
|
|||||||
*/
|
*/
|
||||||
//% blockId=outputMotorSetRegulated block="set %motor|regulated %value=toggleOnOff"
|
//% blockId=outputMotorSetRegulated block="set %motor|regulated %value=toggleOnOff"
|
||||||
//% weight=58
|
//% weight=58
|
||||||
//% group="Move"
|
//% group="Properties"
|
||||||
//% help=motors/motor/set-regulated
|
//% help=motors/motor/set-regulated
|
||||||
setRegulated(value: boolean) {
|
setRegulated(value: boolean) {
|
||||||
this._regulated = value;
|
this._regulated = value;
|
||||||
|
@ -13,7 +13,7 @@ namespace sensors {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//% color="#00852B" weight=90 icon="\uf10d"
|
//% color="#00852B" weight=90 icon="\uf10d"
|
||||||
//% groups='["Move", "Counters"]'
|
//% groups='["Move", "Counters", "Properties"]'
|
||||||
//% labelLineWidth=50
|
//% labelLineWidth=50
|
||||||
namespace motors {
|
namespace motors {
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user