Skip to content
Snippets Groups Projects
Select Git revision
  • 9b18811951a8a9fff712b300fb481a16c8e61ac4
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

machine.RTC.rst

Blame
  • machine.RTC.rst 1.60 KiB

    class RTC -- real time clock

    The RTC is and independent clock that keeps track of the date and time.

    Example usage:

    rtc = machine.RTC()
    rtc.init((2014, 5, 1, 4, 13, 0, 0, 0))
    print(rtc.now())

    Constructors

    Methods

    Constants