Showing results for 
Search instead for 
Did you mean: 

STM32Cube IDE I am converting a basic program that I have written ages ago running on a CUBLOC CB30 connecting to a Picaso processor by 4D Systems (4.3inch touch display) I am converting it to c using STM32F401 Nucleo-64.


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.

Chief II

Sorry , but i dont see question here.