Subversion Repositories idreammicro-avr

Compare Revisions

Ignore whitespace Rev 35 → Rev 36

/trunk/libraries/ds1307/src/ds1307.c
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);
}
 
/**************************************************************************//**