Skip to content

Commit

Permalink
Update leaphy_extra.js (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeftadeGraaf authored Mar 25, 2024
1 parent 29a89de commit 15a1b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/arduino/leaphy_extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function getCodeGenerators(Arduino) {

Arduino.forBlock["leaphy_led_set_basic"] = function (block) {
var led =
Arduino.valueToCode(this, "LED_BASIC_LED", Arduino.ORDER_ATOMIC) || "0";
Arduino.valueToCode(this, "LED_SET_LED", Arduino.ORDER_ATOMIC) || "0";
var red =
Arduino.valueToCode(this, "LED_BASIC_RED", Arduino.ORDER_ATOMIC) || "0";
var green =
Expand Down

0 comments on commit 15a1b1e

Please sign in to comment.