Hello coders, 
I have question regarding uint16_t type. I was assuming that it is 16bit
unsigned integer. 
But when I use such type, and set a value over 32K, I receive a warning
during compilation, an example is: 
/ *********/
const uint16_t FT_TIMER_MIN = 60000; 
/**********/
The result from compilation is: 
....
/opt/tinyos-2.x/apps/Tutorial/FlexTimer/FlexTimer.h:25: warning: decimal
constant is so large that It is unsigned
...

Which type do you use to keep 16 bits unsigned integers?

regards
Hristo Bojkov

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to