Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Serial.println fails for int value > 9

$
0
0

Any ideas why a Serial.println would be OK for an int value of 9 but not for an int value of 10 ?

 

Seems to work fine when passing 'unsigned long' values around, but not 'int' values, so I guess it's something to do with the signed integer, but it seems too basic a problem for it to have not been seen before!

 

Configuration: LaunchPad MSP430G2 revision 1.4 with MSP430G2231, Energia 0101E0012, Windows 7.

 

[Edited to provide configuration information]


Viewing all articles
Browse latest Browse all 2077

Trending Articles