Tag Archives: optimize

Modify Arduino Optimization Levels on the Fly

Do you know and understand how compiler optimization is altering your code? Higher optimization levels can reveal problems in some programs that are not apparent at lower optimization levels. Volatility One method to prevent optimization issues with variables is to … Continue reading

Posted in arduino, avr | Tagged , , , | 1 Comment

-Poof- My Delay Was Optimized Away!

In the Arduino IDE, compiler optimization is set at “–Os”, which means optimization for reduced code size (this level includes most level 2 optimizations also). It might have some surprising affects on your code. For example, Look at the below … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment