add senseBoxIO to main procedure

This commit is contained in:
Mario Pesch 2023-05-08 14:20:25 +02:00
parent 7524e78fc6
commit a1167b436b

View File

@ -7,6 +7,7 @@ import * as Blockly from "blockly/core";
* @return {string} Completed code.
*/
Blockly.Arduino["arduino_functions"] = function (block) {
Blockly.Arduino.libraries_["library_senseBoxIO"] = "#include <senseBoxIO.h>";
// Edited version of Blockly.Generator.prototype.statementToCode
function statementToCodeNoTab(block, name) {
var targetBlock = block.getInputTargetBlock(name);