修改调整音量
This commit is contained in:
@@ -127,6 +127,20 @@ export const esp32_music_stop = {
|
||||
}
|
||||
};
|
||||
|
||||
export const esp32_set_music_volume ={
|
||||
init: function () {
|
||||
this.setColour(ACTUATOR_EXTERN_HUE);
|
||||
this.appendValueInput('SUB')
|
||||
this.appendValueInput('percent')
|
||||
.appendField(Blockly.Msg.MIXLY_MUSIC_VOLUME_SET);
|
||||
this.appendDummyInput()
|
||||
.appendField('%');
|
||||
this.setPreviousStatement(true);
|
||||
this.setNextStatement(true);
|
||||
this.setInputsInline(true);
|
||||
}
|
||||
};
|
||||
|
||||
export const actuator_extern_led_bright = {
|
||||
init: function () {
|
||||
this.setColour(ACTUATOR_EXTERN_HUE);
|
||||
|
||||
Reference in New Issue
Block a user