全部mpy增加心知天气、网络请求、ds18x20

This commit is contained in:
Irene-Maxine
2024-09-28 00:08:39 +08:00
parent 1d2957442b
commit 93cb1f887e
66 changed files with 2992 additions and 1194 deletions

View File

@@ -297,11 +297,11 @@ export const sensor_sht = {
}
};
export const sensor_ds18x20 = {
export const sensor_DS18X20 = {
init: function () {
this.setColour(SENSOR_EXTERN_HUE);
this.appendValueInput("PIN", Number)
.appendField("DS18x20 " + Blockly.Msg.MIXLY_PIN)
.appendField("DS18X20 " + Blockly.Msg.MIXLY_PIN)
.setCheck(Number);
this.appendDummyInput("")
.appendField(Blockly.Msg.MIXLY_GETTEMPERATUE);
@@ -311,8 +311,6 @@ export const sensor_ds18x20 = {
}
};
export const sensor_lm35 = {
init: function () {
this.setColour(SENSOR_EXTERN_HUE);