RTC Programming Guide
Development website
  • Initial page
  • Introduction
  • Initialization
  • Setting time and date
  • Setting Alarms
  • RTC Watchdog
  • Using RTC with hibernate
  • Unix / Epoch time
  • Code examples and extended information
  • API Changelog
Powered by GitBook
On this page

Was this helpful?

Using RTC with hibernate

If the hibernate mode is used, the RTC alarm is the only option for waking up the Waspmote platform. When the hibernate switch is set for this low-power consumption mode, any RTC alarm arriving while the code is running could cause internal collisions. The RTC alarm is supposed to trigger when Waspmote is hibernating.

There are several ways to set alternative alarms:

  • use the Watchdog

  • compare current time and date with previous conditions

  • use the millis() function

PreviousRTC WatchdogNextUnix / Epoch time

Last updated 5 years ago

Was this helpful?