including a few icons in block names

This commit is contained in:
Peli de Halleux
2017-11-16 12:41:47 -08:00
parent f27fb4d93c
commit dab281a9cb
12 changed files with 65 additions and 43 deletions

View File

@ -216,28 +216,28 @@ namespace motors {
}
}
//% whenUsed fixedInstance block="large motor A"
//% whenUsed fixedInstance block="`icons.motorLarge` A"
export const largeMotorA = new Motor(Output.A, true);
//% whenUsed fixedInstance block="large motor B"
//% whenUsed fixedInstance block="`icons.motorLarge` B"
export const largeMotorB = new Motor(Output.B, true);
//% whenUsed fixedInstance block="large motor C"
//% whenUsed fixedInstance block="`icons.motorLarge` C"
export const largeMotorC = new Motor(Output.C, true);
//% whenUsed fixedInstance block="large motor D"
//% whenUsed fixedInstance block="`icons.motorLarge` D"
export const largeMotorD = new Motor(Output.D, true);
//% whenUsed fixedInstance block="medium motor A"
//% whenUsed fixedInstance block="`icons.motorMedium` A"
export const mediumMotorA = new Motor(Output.A, false);
//% whenUsed fixedInstance block="medium motor B"
//% whenUsed fixedInstance block="`icons.motorMedium` B"
export const mediumMotorB = new Motor(Output.B, false);
//% whenUsed fixedInstance block="medium motor C"
//% whenUsed fixedInstance block="`icons.motorMedium` C"
export const mediumMotorC = new Motor(Output.C, false);
//% whenUsed fixedInstance block="medium motor D"
//% whenUsed fixedInstance block="`icons.motorMedium` D"
export const mediumMotorD = new Motor(Output.D, false);
function reset(out: Output) {