AT24C02原理图:
IO对应关系:
SCL => PB6
SDA => PB7
代码:
static void AT24C02_Delay(void)
{
uint32_t i = 0x10000;
while(i--);
}
void AT24C02_Write(uint8_t addr, uint8_t* src
AT24C02原理图:
IO对应关系:
SCL => PB6
SDA => PB7
代码:
static void AT24C02_Delay(void)
{
uint32_t i = 0x10000;
while(i--);
}
void AT24C02_Write(uint8_t addr, uint8_t* src