remove button as switch

closes #165
This commit is contained in:
Mario Pesch
2022-04-10 14:52:25 +02:00
parent 43c3961090
commit 5472b4fc0b
2 changed files with 0 additions and 3 deletions
@@ -408,8 +408,6 @@ Blockly.Arduino.sensebox_button = function () {
var code = "";
if (dropown_function === "isPressed") {
code = "button_" + dropdown_pin + ".isPressed()";
} else if (dropown_function === "Switch") {
code = "button_" + dropdown_pin + ".getSwitch()";
} else if (dropown_function === "wasPressed") {
code = "button_" + dropdown_pin + ".wasPressed()";
} else if (dropown_function === "longPress") {