Hi, Can someone explain my whats going on with the Code Composer Studio? Im did this code to show the problem. Calculations are wrong, and I don't know whats going on. This works on MSP430FR5969 launchpad. #include long double a,b,c; int test; int main(void) { WDTCTL = WDTPW | WDTHOLD; a = 32768 / 572; b = a / 2; c = b * 60; test = ((32768/572)/2)*60; while(1); } I guess that CC is configurated wrong, what should I do to see right calculations?
↧