Skip to content

add new sketch to change the rtc mode#108

Merged
fpistm merged 1 commit into
stm32duino:mainfrom
FRASTM:change_RTC_mode
Mar 1, 2024
Merged

add new sketch to change the rtc mode#108
fpistm merged 1 commit into
stm32duino:mainfrom
FRASTM:change_RTC_mode

Conversation

@FRASTM

@FRASTM FRASTM commented Feb 28, 2024

Copy link
Copy Markdown
Contributor

New application to demonstrate that changing the RTC mode from BIN to MIX and BCD does not affect the calendar nor the Alarm

Requires #106

@FRASTM

FRASTM commented Feb 28, 2024

Copy link
Copy Markdown
Contributor Author

Output log:

12:08:13.010 -> RTC mode is MODE_BCD at 01/03/24 - 14:02:58 
12:08:15.000 -> Alarm A Match! : change RTC mode at 14:03:00 
12:08:15.001 -> RTC mode is MODE_MIX at 01/03/24 - 14:03:00 
12:09:15.005 -> Alarm A Match! : change RTC mode at 14:04:00 
12:09:15.005 -> RTC mode is MODE_BIN at 01/03/24 - 14:04:00 
12:10:14.992 -> Alarm A Match! : change RTC mode at 14:05:00 
12:10:14.992 -> RTC mode is MODE_BCD at 01/03/24 - 14:05:00 
...

@FRASTM

FRASTM commented Feb 28, 2024

Copy link
Copy Markdown
Contributor Author

rebase

@fpistm fpistm marked this pull request as ready for review February 28, 2024 15:58
@fpistm fpistm added the enhancement New feature or request label Feb 28, 2024
@fpistm fpistm added this to the 1.5.0 milestone Feb 28, 2024
Comment thread examples/changeMode/changeMode.ino Outdated
New application to demonstrate that changing the RTC
mode from BIN to BCD does not affect the calendar nor Alarm.

Signed-off-by: F. Ramu <francois.ramu@st.com>

@fpistm fpistm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fpistm fpistm merged commit fd5a7bc into stm32duino:main Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

2 participants