aboutsummaryrefslogtreecommitdiff
path: root/Projects
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-12-26 14:25:34 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-12-26 14:25:34 +0000
commitbeda2c5f54a97c4e76c648120d2212705189a906 (patch)
tree680767a0fba855e26799e392a59d4b0b6d8be4df /Projects
parent0a7816059e8606337381c8d9c70f3f0bb68da52e (diff)
Added basic driver example use code to the library documentation.
Made the USARTStream global public and documented in the SerialStream module, allowing for the serial USART stream to be accessed via its handle rather than via the implicit stdout and stdin streams. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1615 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects')
-rw-r--r--Projects/TempDataLogger/Lib/DS1307.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/TempDataLogger/Lib/DS1307.h b/Projects/TempDataLogger/Lib/DS1307.h
index 87c6229f..f069c271 100644
--- a/Projects/TempDataLogger/Lib/DS1307.h
+++ b/Projects/TempDataLogger/Lib/DS1307.h
@@ -96,8 +96,8 @@
#define DS1307_TIMEREG_START 0x00
#define DS1307_DATEREG_START 0x04
- #define DS1307_ADDRESS_READ 0b11010001
- #define DS1307_ADDRESS_WRITE 0b11010000
+ #define DS1307_ADDRESS_READ (0xD0 | TWI_ADDRESS_READ)
+ #define DS1307_ADDRESS_WRITE (0xD0 | TWI_ADDRESS_WRITE)
/* Function Prototypes: */
void DS1307_SetDate(const uint8_t Day,