Quote:
Originally Posted by dcb
FYI, I don't think the new AVR likes unsigned longs so much, I let the arduino.cc folks know this as well:
when I global replace unsigned long to unsigned int
0012 goes from 16772 to 11934 which is 4838 bytes difference
0011 goes from 14104 to 10762 which is a 3342 byte difference
So that is a 1500 byte difference just from that change. Of course it isn't useable like that, just trying to see where it went.
|
It may come from all the casting and conversion needed for comparison, arithmetic, etc.
I am using a lot of unsigned long and a lot of bytes, and I try to not mix them, only match them.