Hello
Hello
I work with a PIC18F46K20
and now I want with a Function send text with RS232 to HyperTerminal.
Now I have the following code created.
Code:
// above the main
void UART_DEBUG_TEXT(const char szText[])
//in the while
UART_DEBUG_TEXT(Hello);
//below the main
void UART_DEBUG_TEXT(const char szText[])
{
unsigned char i = 0;
while(szText[i] != '\0')
{
if(UARTIntPutChar(szText[i]))
i++;
}
}
Now the problem that I see strange characters in hyper terminal. This example:
íˆÿ¿Œÿ ßÂ;ûf`ÿ°¿`ùÂz„úÙ¾b..ï)ýHöAÿ€õÏ ûýâï`ê:S}N¯þ
maybe someone knows what the problem is?