UC GEE
DIIDevHeads IoT Integration Server
•Created by Sterling on 9/11/2024 in #firmware-and-baremetal
RTC Date and Time Display Issues on Tera Term with Format and Pointer Errors
Hey @Sterling In C in your project, you cannot initialize structure members directly within the structure definition. Instead, you should define the structure and then create an instance of it.
Another error that's occurring in your project,You're trying to use a pointer to a
uint8_t
to point to a structure (Date_struct)
. This error is causing the warnings about incompatible pointer types.
Here’s a corrected version of your code that addresses the above issues:
3 replies