求助数字电位器x9c103的使用,编程方法

2025-03-29 20:32:14
推荐回答(1个)
回答1:

//参考一下 #define RINC PD0 //INC #define RUD PD1 //U/D //复位数字电位器****************************************************** void RSTDCP(void)//使用X9C104 { uchar i; PORTD|=_BV(RINC); _delay_us(1); //INC拉高 PORTD&=~_BV(RUD);