Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow access to RTC #31

Closed
geoffreyottoy opened this issue Oct 15, 2020 · 1 comment
Closed

Allow access to RTC #31

geoffreyottoy opened this issue Oct 15, 2020 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@geoffreyottoy
Copy link

This is a great library. Not really an issue, more of a feature request.

Is it possible to add time-keeping via the RTC?

For example:

void setRtcTime(uint32_t time){
	// not sure if this is the best way to make sure the RTC is up and running
	if (!rtc.isConfigured()) {
		attachInterruptWakeup(RTC_ALARM_WAKEUP, NULL, 0);
	}

	rtc.setEpoch(time);
}

uint32_t getRtcTime(void){
	return rtc.getEpoch();
}
@kpfleming
Copy link

This appears to be a duplicate of #23.

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Oct 19, 2023
@per1234 per1234 self-assigned this Oct 19, 2023
@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2023
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants