diff --git a/Examples/MAX32670/RTC/README.md b/Examples/MAX32670/RTC/README.md index cda9b5c6cb..40fa476c75 100644 --- a/Examples/MAX32670/RTC/README.md +++ b/Examples/MAX32670/RTC/README.md @@ -1,11 +1,12 @@ ## Description +## Description This example demonstrates the use of the Real Time Clock (RTC) and its alarm functionality. The RTC is enabled and the sub-second alarm set to trigger every 250 ms. (LED0) is toggled each time the sub-second alarm triggers. The time-of-day alarm is set to 10 seconds. When the time-of-day alarm triggers, the rate of the sub-second alarm is switched to 500 ms. -(LED1) is toggled each time the time-of-day alarm triggers. The time-of-day alarm is then rearmed for another 10 sec. Pressing SW2 will output the current value of the RTC to the console UART. +(LED1) is toggled each time the time-of-day alarm triggers. The time-of-day alarm is then rearmed for another 10 sec. Pressing SW3 will output the current value of the RTC to the console UART. ## Software @@ -39,7 +40,7 @@ triggers, the rate of the sub-second alarm is switched to 500 ms. (LED1) is toggled each time the time-of-day alarm triggers. -The time-of-day alarm is then rearmed for another 10 sec. Pressing SW1 +The time-of-day alarm is then rearmed for another 10 sec. Pressing SW3 will output the current value of the RTC to the console UART. RTC started diff --git a/Examples/MAX32670/RTC/main.c b/Examples/MAX32670/RTC/main.c index 6a3a2adc0c..64e2bcc5a3 100644 --- a/Examples/MAX32670/RTC/main.c +++ b/Examples/MAX32670/RTC/main.c @@ -156,7 +156,7 @@ int main(void) printf("triggers, the rate of the sub-second alarm is switched to %d ms.\n\n", SUBSECOND_MSEC_1); printf("(LED1) is toggled each time the time-of-day alarm triggers.\n\n"); - printf("The time-of-day alarm is then rearmed for another %d sec. Pressing SW1\n", + printf("The time-of-day alarm is then rearmed for another %d sec. Pressing SW3\n", TIME_OF_DAY_SEC); printf("will output the current value of the RTC to the console UART.\n\n"); diff --git a/Libraries/Boards/MAX32655/EvKit_V1/examples.txt b/Libraries/Boards/MAX32655/EvKit_V1/examples.txt index 761540407a..fd89517f30 100644 --- a/Libraries/Boards/MAX32655/EvKit_V1/examples.txt +++ b/Libraries/Boards/MAX32655/EvKit_V1/examples.txt @@ -42,6 +42,7 @@ GPIO Hello_World Hello_World-riscv I2C +I2C_EEPROM I2C_MNGR I2C_SCAN I2C_Sensor