fixes after merging
This commit is contained in:
parent
df9abdc826
commit
787d4058fc
@ -51,7 +51,7 @@ Blockly.Arduino.sensebox_osem_connection = function (Block) {
|
||||
Blockly.Arduino.definitions_["SenseBoxID"] =
|
||||
'const char SENSEBOX_ID [] PROGMEM = "' + box_id + '";';
|
||||
Blockly.Arduino.definitions_["host"] =
|
||||
"const char server [] PROGMEM =" + host + ";";
|
||||
'const char server [] PROGMEM ="ingress.opensensemap.org";';
|
||||
if (wifi === true) {
|
||||
if (ssl === "TRUE") {
|
||||
Blockly.Arduino.definitions_["WiFiSSLClient"] = "WiFiSSLClient client;";
|
||||
@ -68,7 +68,7 @@ Blockly.Arduino.sensebox_osem_connection = function (Block) {
|
||||
Blockly.Arduino.definitions_["EthernetClient"] = "EthernetClient client;";
|
||||
port = 80;
|
||||
}
|
||||
'const char server [] PROGMEM ="ingress.opensensemap.org";';
|
||||
|
||||
if (ssl === "TRUE") {
|
||||
Blockly.Arduino.libraries_["library_bearSSL"] =
|
||||
"#include <ArduinoBearSSL.h>";
|
||||
@ -254,4 +254,5 @@ Blockly.Arduino.sensebox_osem_connection = function (Block) {
|
||||
");\n";
|
||||
}
|
||||
return code;
|
||||
}
|
||||
};
|
||||
|
@ -11,6 +11,7 @@ export const UI = {
|
||||
toolbox_functions: "Funktionen",
|
||||
toolbox_variables: "Variablen",
|
||||
toolbox_serial: "Seriell",
|
||||
toolbox_advanced: "Erweitert",
|
||||
variable_NUMBER: "Zahl (int)",
|
||||
variable_SHORT_NUMBER: "char",
|
||||
variable_LONG: "große Zahl (long)",
|
||||
|
@ -11,6 +11,7 @@ export const UI = {
|
||||
toolbox_functions: "Functions",
|
||||
toolbox_variables: "Variables",
|
||||
toolbox_serial: "Serial",
|
||||
toolbox_advanced: "Erweitert",
|
||||
variable_NUMBER: "Number (int)",
|
||||
variable_SHORT_NUMBER: "char",
|
||||
variable_LONG: " Zahl (long)",
|
||||
|
@ -405,10 +405,6 @@ class Toolbox extends React.Component {
|
||||
<Block type="sensebox_phyphox_channel"></Block>
|
||||
<Block type="sensebox_phyphox_sendchannel"></Block>
|
||||
</Category>
|
||||
<Category name={Blockly.Msg.toolbox_serial} colour={getColour().serial}>
|
||||
<Block type="init_serial_monitor"></Block>
|
||||
<Block type="print_serial_monitor"></Block>
|
||||
</Category>
|
||||
<Category
|
||||
id="webserver"
|
||||
name="Webserver"
|
||||
@ -617,7 +613,14 @@ class Toolbox extends React.Component {
|
||||
custom="PROCEDURE"
|
||||
></Category>
|
||||
<sep></sep>
|
||||
<Category name="Advanced" colour={getColour().io}>
|
||||
<Category name={Blockly.Msg.toolbox_advanced} colour={getColour().io}>
|
||||
<Category
|
||||
name={Blockly.Msg.toolbox_serial}
|
||||
colour={getColour().serial}
|
||||
>
|
||||
<Block type="init_serial_monitor"></Block>
|
||||
<Block type="print_serial_monitor"></Block>
|
||||
</Category>
|
||||
<Category name={Blockly.Msg.toolbox_io} colour={getColour().io}>
|
||||
<Block type="io_digitalwrite"></Block>
|
||||
<Block type="io_digitalread"></Block>
|
||||
|
Loading…
x
Reference in New Issue
Block a user