refactor(boards): 规范化arduino板卡代码

This commit is contained in:
王立帮
2025-03-24 16:40:12 +08:00
parent a3dbab66e1
commit 5b48b2f5e5
39 changed files with 2523 additions and 3276 deletions

View File

@@ -20,6 +20,7 @@ export const pins_button = {
this.setOutput(true, Number);
}
};
export const pins_sda = {
init: function () {
this.setColour(PINS_HUE);
@@ -100,6 +101,7 @@ export const pins_axis = {
this.setOutput(true, Number);
}
};
export const pins_brightness = {
init: function () {
this.setColour(PINS_HUE);
@@ -172,7 +174,6 @@ export const brightness = {
}
};
export const CHANNEL = {
init: function () {
this.setColour(PINS_HUE);