Monday, December 28, 2009

Byte vs int

I've just checked the difference between declaring pin numbers as byte or int.  There is no difference to the size of the compiled code, so there is not likely to be a performance difference.  Since it probably saves one byte per constant I'll try to use byte not int.

No comments:

Post a Comment