examples: ds3231: Add simple example for ds3231

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

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@gmail.com>
This commit is contained in:
Bhuvanchandra 2016-07-18 23:14:23 +00:00
parent 782cdfd11d
commit f388bbc7c4
2 changed files with 44 additions and 0 deletions

View file

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