I am just running a simple script because I noticed that the DAC output is a little off.
int DACPIN = DAC0;
void setup() {
pinMode(DACPIN,OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
for (int i = 0; i <= 4095; i = i+5){
analogWrite(DACPIN,i);
delay(20);
}
}
I am seeing a minimum value of 0.52V and a maximum of 3V. Shouldnt I be seeing 0 to 3.3V?