全部mpy增加心知天气、网络请求、ds18x20
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user