projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Altered all endpoint/pipe stream transfers so that the new BytesProcessed parameter...
[pub/USBasp.git]
/
Projects
/
TempDataLogger
/
Lib
/
DS1307.h
diff --git
a/Projects/TempDataLogger/Lib/DS1307.h
b/Projects/TempDataLogger/Lib/DS1307.h
index
87c6229
..
6cc65ad
100644
(file)
--- a/
Projects/TempDataLogger/Lib/DS1307.h
+++ b/
Projects/TempDataLogger/Lib/DS1307.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
@@
-96,8
+96,8
@@
#define DS1307_TIMEREG_START 0x00
#define DS1307_DATEREG_START 0x04
#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,
/* Function Prototypes: */
void DS1307_SetDate(const uint8_t Day,