AnsweredAssumed Answered

UART

Question asked by L C on Jul 24, 2017
Latest reply on Aug 29, 2017 by Elkin Granados

Hi!

 

I am study UART to communicate with PC.

My target is use PC like a terminal to input AND out message to STM32.

 

My code is using HAL library.

I want to operate code like below.

**************************************

ch = "UART test\r\n";
HAL_UART_Transmit(&huart1,(uint8_t *)&ch, 10, 0xFFFF);

***************************

 

But appear error when compile.

 

Please let me know your comment.

 

BR

Line 83

Attachments

Outcomes