replace more senseBox MCU includes

This commit is contained in:
Mario Pesch
2021-11-24 18:33:35 +01:00
parent 8acc89b99e
commit d21847454a
8 changed files with 320 additions and 164 deletions
@@ -9,6 +9,7 @@ Blockly.Arduino.sensebox_sensor_temp_hum = function () {
var dropdown_name = this.getFieldValue("NAME");
Blockly.Arduino.libraries_["library_senseBoxMCU"] =
'#include "SenseBoxMCU.h"';
Blockly.Arduino.libraries_["library_senseBoxIO"] = "#include <senseBoxIO.h>";
Blockly.Arduino.definitions_["define_hdc"] = "HDC1080 hdc;";
Blockly.Arduino.setupCode_["sensebox_sensor_temp_hum"] = "hdc.begin();";
var code = "hdc.get" + dropdown_name + "()";