页次: 1
void Init_I2C(void)
{
P13_Quasi_Mode; //set SCL (P13) is Quasi mode
P14_Quasi_Mode; //set SDA (P14) is Quasi mode
SDA = 1; //set SDA and SCL pins high
SCL = 1;
set_EI2C; //enable I2C interrupt by setting IE1 bit 0
set_EA;
I2ADDR = EEPROM_SLA; //define own slave address
set_I2CEN; //enable I2C circuit
set_AA;
}
晕哥 说:@wotou 多谢指教
一楼的司徒掌机用 JZ4760,
三楼 miyoo掌机用的 f1c100s ?https://whycan.cn/files/members/3/QQ20190109204532.png
坐等收货, 体验一把掌机的感觉
只有第三代产品98元,没有135的了
页次: 1