Commit 60d611bf78d10510c33cde10b139bba5c7a1103c
authorDoug Szumski <d.s.szumski@gmail.com>
Thu, 4 Feb 2016 19:52:37 +0000 (19:52 +0000)
committerDoug Szumski <d.s.szumski@gmail.com>
Thu, 4 Feb 2016 22:16:25 +0000 (22:16 +0000)
treec320bf606fcd38157894f9dc13d7b7b36eae5311
parent7669349030886c5c8427dc7cf63d9e28be0023ab
Message:
examples: take the DS1338 virtual real time clock for a test drive

This demo consists of a DS1338 RTC connected via the TWI bus of an
atmega32. The square wave output of the DS1338 is enabled, with the
tick-rate set to 1HZ. This is then fed to pin D3 on the atmega32
which is configured to generate an interrupt on a rising edge. When
the interrupt fires the time is read from the DS1338.
5 files changed:
examples/board_ds1338/Makefile [new file with mode: 0644]
examples/board_ds1338/atmega32_ds1338.c [new file with mode: 0644]
examples/board_ds1338/ds1338.c [new file with mode: 0644]
examples/board_ds1338/ds1338.h [new file with mode: 0644]
examples/board_ds1338/ds1338demo.c [new file with mode: 0644]