Hi,
I'm new to microcontrollers and the arduino. I'm having some trouble with the DAC0 pin on the Arduino Due. I am measuring with a volt meter the range of the arduino and it seems to be from .497 V - 2.534 Volts. I am using the Arduino Ground as the reference.
Here is my code, I am just alternating the int value of volt from 0 to 4095 to get the range.
int volt;
void setup() {
analogWriteResolution(12);
}
void loop() {
volt = 4095;
analogWrite(DAC0,volt);
}
It seems to me that the range should be from 0 to 3.3 Volts...Or at least that there should not be a .5 V offset when I have it nominally turned off.
Thank you