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:
parent
782cdfd11d
commit
f388bbc7c4
2 changed files with 44 additions and 0 deletions
3
examples/ds3231_test/Makefile
Normal file
3
examples/ds3231_test/Makefile
Normal file
|
@ -0,0 +1,3 @@
|
|||
PROGRAM=ds3231_test
|
||||
EXTRA_COMPONENTS = extras/ds3231 extras/i2c
|
||||
include ../../common.mk
|
Loading…
Add table
Add a link
Reference in a new issue