I have a project that has a Nextion display a mega and an RTC (DS3132) and my problem is the following:
From the RTC I get the date values and store each of them in 6 int variables called ( year, month, day, hour, minute, second) and now i want to send them to a text box in the Nextion. I know how to send them to 6 individual textboxes but I would like to do it to single one and with the following format : " DD/MM/YYYY HH/MM". So i will need to place the int values in a char array and also place the "/" (0x2F in HEX) between values and a space " " (0x20 in HEX) between the date and the hour. However, I have been unable to find a way of doing this, does anyone now how to?