摘要: #include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <string.h>#include <linux/i2c.h>#include <linux/i2c-dev.h>#define DAC3100_DEV "/dev/i2c-2"#define DAC3100_ADDR 0x18static unsigned char 阅读全文
posted @ 2012-10-25 18:20 ouuy 阅读(1553) 评论(0) 推荐(0) 编辑