摘要: 实际上还是仅仅备份些代码,加些注释,因为这本身就很容易,没啥多说的。。。先定义些东西#define PORT_IIC PORTC#define DDR_IIC DDRC#define BIT_SCL 0#define BIT_SDA 1#define TW_START 0X08#define TW_REP_START 0X10#define TW_MT_SLA_ACK 0X18下面切入正题iic总... 阅读全文
posted @ 2009-10-02 09:12 平繁 阅读(1348) 评论(0) 推荐(0) 编辑