zhushouxi 发表于 2009-11-22 16:29:56

关于I2C的困惑

用I2C协议,cvavr编译器这样定义
#define SCL_Hight SCL = 0
#define SCL_Low SCL = 1
#define SDA_Hight SDA = 0
#define SDA_Low SDA = 1
是为什么呢?

machao 发表于 2009-12-2 12:51:07

为了程序员编程方便和程序易懂。
页: [1]
查看完整版本: 关于I2C的困惑