Hello,
I am Anala. I am using MSP430g2231 processor. I am trying to establish a serial communication between my PC and processor via UART using TI sample codes.
But i am not able to receive any information from my PC.i can only transmit from processor.
Also i was trying to transmit a floating point number to PC,but it is showing some error.
if i use the below statement,
sprintf(times, "%.2f" ,total_amount);
i get errors,
Severity and Description Path Resource Location Creation Time Id
errors encountered during linking; "gg.out" not built gg line 0 1327918031406 480
Severity and Description Path Resource Location Creation Time Id
placement fails for object ".text", size 0xabc (page 0). Available ranges: FLASH size: 0x7e0 unused: 0x76e max hole: 0x76e gg line 0 1327918031406 479
and if i write ;
sprintf(times[ ], "%.2f" ,total_amount);
Severity and Description Path Resource Location Creation Time Id
expected an expression gg serial.c line 122 1327919422187 481
please help me to solve my problem.