修改块

This commit is contained in:
Irene-Maxine
2025-08-01 22:50:05 +08:00
parent f75141b3bb
commit a632268f60
26 changed files with 343 additions and 65 deletions

View File

@@ -398,4 +398,16 @@ export const pins_digital_dot = {
.appendField(new Blockly.FieldDropdown(Profile.default.digital_dot), 'PIN');
this.setOutput(true, Number);
}
};
export const timer_id_pin = {
init: function () {
this.setColour(PINS_HUE);
this.appendDummyInput("")
.appendField(new Blockly.FieldDropdown([
["0","0"],
["1","1"]
]), 'PIN');
this.setOutput(true, Number);
}
};