This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: MSP432P4111
Tool/software: Code Composer Studio
Hi everyone!
I wanna knw how may I build a code to show de date and/or hour in the MSP432P4111 display using CCS.
If you guys help me to develop this code. I'll be greatful
Have a look at the MSP432P4111 Out-of-Box demo- this shows how to write characters to the LCD.
The rtc_c_caldnear_alarm_interrupt example shows you how to write to the register. The RTC_C_getCalendarTime(void) API is used to pull the current time. The datastructure it returns is of type RTC_C_Calendar, whose structure is:
typedef struct _RTC_C_Calendar
{
uint_fast8_t seconds;
uint_fast8_t minutes;
uint_fast8_t hours;
uint_fast8_t dayOfWeek;
uint_fast8_t dayOfmonth;
uint_fast8_t month;
uint_fast16_t year;
} RTC_C_Calendar;
-Bob L.
**Attention** This is a public forum