In a further update, I tried writing some code to sent similar information to the host PC:
if (g%2 == 0){
strcpy(OutputString,"\r\n{\"LED\":0\}\r\n");
#ifdef UART_COMM
// Send the message to the host over UART
putsUART((BYTE*)OutputString,strlen(OutputString));
#endif
}
else{
strcpy(OutputString,"\r\n{\"LED\":1\}\r\n");
#ifdef UART_COMM
// Send the message to the host over UART
putsUART((BYTE*)OutputString,strlen(OutputString));
#endif
}
g++;
I verified with PuTTY that the COM port does indeed, re