52,8 → 52,6 |
#define DS1307__REGISTER_ADDRESS__YEAR 0x06 |
#define DS1307__REGISTER_ADDRESS__CONTROL 0x07 |
|
#define DS1307__CLOCK_RATE 100000 |
|
/****************************************************************************** |
* Private function prototypes. |
******************************************************************************/ |
84,8 → 82,9 |
( |
void |
){ |
// We don't initialize TWI here: we may have several devices on the bus. |
// Initialize TWI. |
twi__initialize(DS1307__CLOCK_RATE); |
//twi__initialize(DS1307__CLOCK_RATE); |
} |
|
/**************************************************************************//** |