Define USART Command format
CMD_EEPROM_BYTE_WRITE
CMD_EEPROM_BYTE_READ
READ / WRITE success return 0x01
READ / WRITE fail return 0x00
IO PIN Define
P0_0 - IIC_SCL
P0_1 - IIC_SDA
Circuit Diagram
AT24C64 I2C EEPROM address = 0xA6
CMD_EEPROM_BYTE_WRITE
CMD_EEPROM_BYTE_READ
CMD_EEPROM_BYTE_WRITE
CMD_EEPROM_BYTE_READ
沒有留言:
張貼留言