#148 declaration is incompatible with "int sprintf(char *, const char *, ...)" (declared at line 188 of "D:/ti/ccsv5/tools/compiler/msp430_4.1.1/include/stdio.h") main.c /TEST1 line 12 C/C++ Problem
#93 identifier-list parameters may only be used in a function definition main.c /TEST1 line 12 C/C++ Problem
void UARTPutChar(unsigned int cTX)
{
UCA0TXBUF=cTX;
while (!(IFG2&UCA0TXIFG)); //waiting UCA0TXBUF is empty
IFG2&=~UCA0TXIFG; //clear TX interrupt flag
}
void UARTPutstring(char *str)
{
do
{
UARTPutChar(*str);
}
while(*++str!='\0');
UARTPutChar('\n');
Description Resource Path Location Type
#169 argument of type "int" is incompatible with parameter of type "const char *" main.c /TEST1 line 57 C/C++ Problem