Hello- New to ST32 and the IDE, and re-learning C as well. I am trying to work an example using I2C for a 2 line by 16 digit LCD. When I compile (build) I get 4 errors, need to help if you would. 1st time poster....
error: 'for' loop initial declarations are only allowed in C99 or C11 mode
223 | for(uint8_t i=0; i<offset;i++)
error: 'for' loop initial declarations are only allowed in C99 or C11 mode
234 | for(uint8_t i=0; i<offset;i++)
error: 'for' loop initial declarations are only allowed in C99 or C11 mode
250 | for(uint8_t i=0; i<strlen(stringArray) && i<16; i++)
Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.
I got it to compile yesterday with no errors, just didn't print to the LCD.
These errors happened when I deleted all and started over.
What am I missing?
And, thanks in advance.
