Question
Nextion Communication issue
Hello
I have Nextion display. Ican control it with arduino library in Arduino ide good.
I am learning communication nextion without itead nextion library via uart.
I designed simply page in nextion. it has just a textbox named "t0".
I try send a word from STM32F103C8T6 , but i couldnt. This my code pls tell me what is wrong.I use STM32CubeIDE 1.3
Thanks for advance.
//texte gonderelim
//char com_giden[]="merhaba";
//int ix = 0;
// sprintf(com_giden,"Sayi: %d",ix++);
char dizi[]="t0.txt=\"dene\"";
HAL_UART_Transmit(&huart2,(uint8_t*)dizi,strlen(dizi),20);
// HAL_UART_Transmit(&huart2,(uint8_t*)com_giden,strlen(com_giden),20);
char bitis[]="0xff";
HAL_UART_Transmit(&huart2,(uint8_t*)0xff,strlen(0xff),20);
HAL_UART_Transmit(&huart2,(uint8_t*)0xff,strlen(0xff),20);
HAL_UART_Transmit(&huart2,(uint8_t*)0xff,strlen(0xff),20);
HAL_Delay(500);