修改调整音量

This commit is contained in:
Irene-Maxine
2025-09-01 16:30:02 +08:00
parent 27ae6faf1e
commit 03d083b54f
9 changed files with 106 additions and 81 deletions

View File

@@ -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);