Added digital input to blockly