examples: ds3231: Add simple example for ds3231

Simple example for reading out the time from ds3231 RTC every second.

Signed-off-by: Bhuvanchandra <bhuvanchandra.dv@gmail.com>
This commit is contained in:
Bhuvanchandra 2016-07-18 23:14:23 +00:00
parent 17413ab064
commit 7f6dddb777
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,3 @@
PROGRAM=ds3231_test
EXTRA_COMPONENTS = extras/ds3231 extras/i2c
include ../../common.mk