Mercurial > ~darius > hgwebdir.cgi > tempctrl
view .hgtags @ 60:50fca9562310
Add support for reading/writing to a DS1307 over TWI/IIC.
Note that iic_read() appears to have a bug where it stops 1 byte earlier than
expected, work around it for now by adding 1 in the gettod() function.
tempctrl.c now prints the TOD as read from the RTC for each line.
author | darius@Inchoate |
---|---|
date | Thu, 30 Oct 2008 11:53:32 +1030 |
parents | 1061fdbdc44f |
children |
line wrap: on
line source
026dc24d85e0e968713388039dcd90a7f89aa43d AVR_1_3 2c03ec600dbc1f52eb50237ad0c2125c657cd8a0 OWIRE_1_3 83c649cc59af7a6c2e47a13f66886b4ea2d8f61d AVR_1_1