摘要:
#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 阅读全文