I would like to know if I'm improving something using 'uint8_t' instead 'Int'..
I use 'Int' variables instead 'Byte' because it seems to me more practical to use in comparisons, conversions.
using ITOA... Integer to Ascii... is some of the reason that's why I'm using 'Int' instead 'Byte'
How much I'll improving RAM on each 'uint8_t' instead 'Int' ?
Thanks to you, I've changed (not all yet) some 'Int' to 'uint8_t'... result... my sketch length on Mega 2560:Before was ~133000 bytes Now is ~113000 bytes!!!
byte foo ; // takes 1000 bytes of RAMint bar ; // takes 2000 bytes of RAM
I would like to optimize Arduino RAM utilization.
my sketch length on Mega 2560:Before was ~133000 bytes Now is ~113000 bytes!!!
After replace variables 'Int' 616 times by 'uint8_t' my sketch reduced from 132146 bytes to 113890 bytes using arduino.exe compiler!This is what I get.Please let me know
Let you know what? You didn't ask a question.