typedef int errorDatatype;
typedef int int32;
typedef int undefined;
typedef unsigned int uint;
typedef float numeric;
typedef struct clusterDatatype_8_CustomSettings_1 {
int start_counter = 7;
int serial_speed = 9600;
};
typedef struct clusterDatatype_0_errorInput_1 {
String item_0 = "NO_ERROR";
int item_1 = 0;
};
/************* BEGIN Transcripted SubNode function definitions ************/
void Test__MultipleSerialPrint_1(int numberInput_2, errorDatatype &outputTerminal){
errorDatatype wire_19;
String wire_20;
errorDatatype wire_21;
int wire_22;
int wire_23;
clusterDatatype_0_errorInput_1 wire_24;
wire_24 = cluster_0;
/* LEFT TUNNELs declarations */
//tunnel declaration, if connected to wire also assignement
clusterDatatype_0_ahoj tunnel_5 = wire_24;
int tunnel_6 = wire_22;
/* END LEFT TUNNELs declarations */
//inside loop wires declaration
int wire_18;
clusterDatatype_0_ahoj wire_17;
errorDatatype wire_16;
for (int forLoopIterator_3 = 0; forLoopIterator_3 < wire_23; forLoopIterator_3++){
wire_17 = tunnel_5;
wire_18 = tunnel_6;
/*code inside FOR LOOP */
Serial.println(wire_18);
wire_21 = wire_16;
} //END FOR LOOP
int const_8 = 3;
wire_23 = const_8;
String const_10 = "==> END OF BLOCK";
wire_20 = const_10;
wire_22 = numberInput_2;
Serial.println(wire_20);
outputTerminal = wire_19;
}
/************* END Transcripted SubNode function definitions ************/
void setup() {
int wire_20;
int wire_21;
clusterDatatype_8_CustomSettings_1 wire_22;
errorDatatype wire_28;
errorDatatype wire_29;
clusterDatatype_8_CustomSettings_1 cluster_11;
wire_22 = cluster_11;
/*UnbundleByName*/
wire_21 = wire_22.start_counter;
wire_20 = wire_22.serial_speed;
Serial.begin(wire_20);
bool wire_30;
/* LEFT TUNNELs declarations */
//tunnel declaration, if connected to wire also assignement
errorDatatype tunnel_1 = wire_29;
undefined tunnel_3 = wire_21;
/* END LEFT TUNNELs declarations */
bool feedBackNodeFlag_6 = false;
int feedBackNode_6;
//inside loop wires declaration
int wire_31;
int wire_34;
undefined wire_25;
undefined wire_32;
errorDatatype wire_27;
undefined wire_26;
int wire_33;
undefined wire_24;
errorDatatype wire_23;
do{
wire_27 = tunnel_1;
wire_26 = tunnel_3;
wire_25 = tunnel_3;
bool const_9 = false;
wire_30 = const_9;
int const_7 = 0;
wire_34 = const_7;
int const_4 = 300;
wire_33 = const_4;
if(!feedBackNodeFlag_6){
feedBackNodeFlag_6 = true;
feedBackNode_6 = wire_34;
}else{
feedBackNode_6 = wire_31;
}
wire_32 = feedBackNode_6;
wire_31 = wire_25 + wire_32;
undefined outputPort_outputTerminal;
Test__MultipleSerialPrint_1(wire_27, wire_26, outputPort_outputTerminal);
wire_24 = outputPort_outputTerminal;
delay(wire_33);
wire_28 = wire_23;
}while(!wire_30); //END WHILE LOOP
errorDatatype errorOutput_1;
errorOutput_1 = wire_28;
}
void loop() {
/* generated code is in setup() */
}