just a newbie question..
which datatype should i use in arduino code for a number larger than 32767?
http://arduino.cc/en/Reference/Long
byte - 0 to 255
int -32K to +32K
unsigned int 0 to 64k
long -2G to +2G
unsigned long 0 to 4G
just a newbie question..
which datatype should i use in arduino code for a number larger than 32767?
http://arduino.cc/en/Reference/Long
byte - 0 to 255
int -32K to +32K
unsigned int 0 to 64k
long -2G to +2G
unsigned long 0 to 4G