首页->24c02
// 24c02读写程序 #define uchar unsigned char #define uint unsigned int #include reg52.h #include stdio.h #include ......
; 24c02的简单操作 scl_2402 bit p3.5 sda_2402 bit p3.7 sp_begain equ 60h org 0 mov sp,#sp_begain acall delay acall d......
/* 51系列单片机在使用时,有时需要模拟I2C总线, */ /* 这里举出一个实例(读写串行EEPROM芯片at2402) */ /*******************************************......