测试飞翔板

捉虫小修
This commit is contained in:
Irene-Maxine
2025-09-30 21:27:17 +08:00
parent 753447359e
commit 01533d3fb8
9 changed files with 53 additions and 64 deletions

View File

@@ -61,21 +61,6 @@ export const actuator_get_led_bright = {
}
};
export const actuator_get_led_onoff = {
init: function () {
this.setColour(ACTUATOR_ONBOARD_HUE);
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_MICROBIT_PY_STORAGE_GET);
this.appendValueInput('led')
.appendField(Blockly.Msg.MIXLY_BUILDIN_LED)
this.appendDummyInput()
.appendField(Blockly.Msg.MIXLY_PULSEIN_STAT)
this.setOutput(true);
this.setInputsInline(true);
this.setTooltip(Blockly.Msg.MIXLY_ESP32_LED_GETONOFF);
}
};
export const actuator_get_led_state = {
init: function () {
this.setColour(ACTUATOR_ONBOARD_HUE);