Hi
I declare
I am using MSP430FR2033
unsigned int ADCLastSamplesResults[15];
If I stand with the mouser on the array - I see that the array is unsigned int array and start as address 0x00210C ...
And also include the last samples
but the compiler see this array as char array, and the diassembly is like char array ...
As you can see - the compiler use mov.b command.. also it read from address 0x2111 instead of 0x2116...
Also this code the complier didn't compile
because BatteryMinTH is define as 425 and if I define BatteryMinTH as 250 the complier wiil compile this code
As you can see the compiler see this array as char array and because char can't be greater than 255 the comiler didn't compile the if command that ask greater than 450
Can you please tell me where I wrong ? Maybee my declarion not match the compiler specifications?
Best Regards
Yaakov


