Uart String buffer size. Almost there ! Need assistance

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by JJClyne on Wed Jun 06 10:35:43 MST 2012
Hey everyone,

I have this issue here.
Supposed i have a long string sent from a device to my LPC 1769, something like

>>Hello, nice to meet you.How are you today ?

However, i supposed the UART buffer size is limited or not configured properly, as i only received something like

>>Hello, nice to m

on my LPC console.

Also, i find it strange that i cannot see my printf statement using this
printf("%c", line);
Yet, i could see printf statement with \n. Any ideas anyone ?

printf("%c[B][COLOR=Magenta]\n[/COLOR][/B]", line);

Any ideas people ?