RTC Date and Time Display Issues on Tera Term with Format and Pointer Errors
Good day everyone, my aim is to showcase the RTC date and time on Tera Term; however, I am facing errors that are explained in the code below. Furthermore, no information is appearing on Tera Term. My approach involves using pointers according to SetDate and GetDate declarations. Nonetheless, there have been warnings such as:
How can I resolve these errors and warnings?
format '%d' expects a matching 'int' argument [-Wformat=]passing argument 2 of 'HAL_RTC_GetDate' from incompatible pointer type [-Wincompatible-pointer-types]passing argument 2 of 'HAL_RTC_SetDate' from incompatible pointer type [-Wincompatible-pointer-types]
How can I resolve these errors and warnings?
