Does anyone know why a blank Arduino Sketch Uses 450 Bytes of Program Storage Space and has 9 Bytes of Global Variable? Why?
How does this compare with other AVR compilers?
Does anyone know why a blank Arduino Sketch Uses 450 Bytes of Program Storage Space and has 9 Bytes of Global Variable? Why?
How does this compare with other AVR compilers?
the blink program such as the one i had, where it toggles pin13 on/off.
i don't have avr studio and i don't know how to make one with the avr studio.
i just like to see it compiled in avr studio and see how many bytes it will use both in program space and dynamic memory / global variables.
dmaruska, yes this is to compare and see which IDE would produce less memory usage.
i understand that Arduino may be quite easier to use but I am interested to see if other IDEs will get us better mileage and hopefully try to learn to code with the best one.
since Arduino is simply a program and I believe you can program it with other AVR programming capable IDEs.
i have been playing around with the Arduino IDE and sometimes find it uses so much memory that I sometimes run low in memory and get a 'low memory' warning of which I cannot explain and trying to understand why myself. also, be careful with using so much 'serial.print()' in your code as it is a memory hog.