Search the Community
Showing results for tags 'datatype'.
Found 1 result
Program won't fit weirdness
crouzilles posted a topic in Energia - MSPHi all, I am new to the forum to MCUs and to energia. I have the TI Launchpad MSP430G2553 with a maximum of 16,384 bytes of available ram as far as I understand. The program below compiles at 3,061 bytes if I use the data type "byte" for my large array, but apparently I am missing 72 bytes of space if I use the data type "int" which if I understand things well is only twice the size of a byte. Can someone explain to me why I get this error? P.S: Some variables are not yet used I know, but they will be int dot = 0; int dash = 1; int empty = -1; int unit = 50; int dot_u