04-25-2022, 08:48 AM
[Arduino IDE demo source code for KC868-A6]--#03-DAC_code
3.DAC.zip (Size: 573 bytes / Downloads: 265)
Code:
/*KC868-A6 DAC CODE*/
#define DAC1 26
#define DAC2 25
void setup() {
}
void loop() {
int Value = 127; //255= 10V
dacWrite(DAC1, 127);
delay(500);
dacWrite(DAC2, 255);
delay(500);
}
3.DAC.zip (Size: 573 bytes / Downloads: 265)