Skip to content

Real-time clock extension for the Micro:bit; DS3231 with date support

Notifications You must be signed in to change notification settings

RunnerMojo/pxt-rtc-ds3231-date

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pxt-rtc-ds3231-date

Real-time clock extension for the Micro:bit added in date support for gbraad's RTC support. This library can be used with typical I2C DS3231SN modules found online.

Example

rtc.setTime("18:30:00")
rtc.getTime()
rtc.setDate("20:07:04")
rtc.getDate()
basic.forever(function () {
    basic.showString(rtc.getTimeString())
})

About

Real-time clock extension for the Micro:bit; DS3231 with date support

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.4%
  • Makefile 2.6%