Blockly-at-rduino
Blockly-at-rduino copied to clipboard
arrays coming out invalid
``int[3] adf;
void setup() { }
void loop() { adf = {0, 1, 2};
}``
This is the code generated with just a variable initialized as an array with 3 integers entered. It's invalid Arduino code and won't compile. It should come out as below.
``int adf[3] = {0, 1, 2};
void setup() { }
void loop() {
}``