2023-03-11 11:31 PM
The serial output sent to the uart in the 4D display
is typically a string consisting of the following 3 items,
#define Put_string &H00, &H18
Const m_Alarm_Set As String = "Alarm set"
#define NUL &H00,
The following is the CUBLOC Basic expression sending data to the 4D screen
Putstr Com_4D,Put_string, m_Alarm_Set, NUL
I am trying to concatenate Put_string, m_Alarm_Set, NUL into screen_data and send it by;
HAL_UART_Transmit (&huart1, screen_data, data_size,40);
My c experience is about 25 years old.
Apologies for what I assume is a simple question.
2023-03-12 12:29 AM
Sorry , but i dont see question here.