rm duplicate block
@@ -19,7 +19,7 @@ Blockly.Blocks.inout_digital_write = {
init: function() {
this.setColour(Blockly.Blocks.base.HUE);
this.appendValueInput("PIN",Number)
- .appendField(Blockly.MIXLY_DIGITALWRITE_PIN)
+ .appendField(Blockly.MIXLY_Digital_PINMODEOUT)
.setCheck(Number);
this.appendValueInput("STAT")
.appendField(Blockly.MIXLY_STAT)
@@ -169,22 +169,6 @@ Blockly.Blocks['inout_pin_pressed'] = {
}
};
-Blockly.Blocks.inout_digital_write = {
- init: function() {
- this.setColour(Blockly.Blocks.base.HUE);
- this.appendValueInput("PIN",Number)
- .appendField(Blockly.MIXLY_Digital_PINMODEOUT)
- .setCheck(Number);
- this.appendValueInput("STAT")
- .appendField(Blockly.MIXLY_STAT)
- .setCheck([Number,Boolean]);
- this.setPreviousStatement(true, null);
- this.setNextStatement(true, null);
- this.setInputsInline(true);
- this.setTooltip(Blockly.LANG_INOUT_DIGITAL_WRITE_TOOLTIP);
- }
-};
-
Blockly.Blocks.inout_pin_attachInterrupt = {
init: function() {
this.setColour(20);
