Skip to content

Commit

Permalink
Set the output type for get digital input to boolean not number
Browse files Browse the repository at this point in the history
  • Loading branch information
TechplexEngineer committed Jun 24, 2014
1 parent 335d593 commit de89088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/robotbuilder/blocks/local/digital_input.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Blockly.Blocks['get_digital_input_value'] = {
.appendField("Get value")
.appendField(new Blockly.TypedFieldVariable("Din1", "DigitalInput"), "NAME");
this.setInputsInline(true);
this.setOutput(true, "Number");
this.setOutput(true, "Boolean");
this.setDependsOn("declare_digital_input");
},
onchange: function(evt) {
Expand Down

0 comments on commit de89088

Please sign in to comment.