例程中所用器件为AT24C08。我用的器件为AT24C02。现在有个不明白的地方:
//*****************************************************************************
//
// The I2C slave address of the AT24C08A EEPROM device. This address is based
// on the A2 pin of the AT24C08A being pulled high on the board.
//
//*****************************************************************************
#define SLAVE_ADDR 0x54