nobody wrote on Tuesday, March 06, 2007:
I have a problem with serial communication.
I made a simple task that send ‘A’ once per second (PIC18F4550 with MPLAB C 7.52)
On Window’s Hyperterminal, ‘A’ appears once per 5 seconds.
I suspect queue caused the trouble(I declared serial queue length to 5 )
#define mainCOMMS_QUEUE_LENGTH ( 5 )
Please tell me what’s wrong.
Regards
Sohn, Seoul, Korea
static void vTest( void *pvParameters )
{
for( ;; )
{
vTaskDelay( 900);
xSerialPutChar( NULL, ‘A’, 100 );
vParTestToggleLED(2);
vTaskDelay( 100);
vParTestToggleLED(2);
}
}