-
-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
Description
``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() {
}``