AnsweredAssumed Answered

I don't know how to use HAL_UART_Receive();

Question asked by quoc.anh on Sep 22, 2015
Latest reply on Sep 23, 2015 by quoc.anh
I am trying to receive string from my PC then put it on the LCD. This my code :
char recieve[10];
       HAL_UART_Receive(&huart2,(uint8_t *)&recieve[i],1,0xffff);

     but LCD show 2 character only... ( if I send "abcd", LCD show ab only).... 
anyone tell me about this problem and code for my purpose please... thanks!!!