Projectitis
Well-known member
Hi all,
I may have fried my DAC pins on T_3.6 (but I'm unsure how). I just stopped getting audio while debugging a project.
I've tried a very simple sketch (below) to see if they are working, but I read no voltage between the pin and AGND (either pin).
Is my sketch correct? Do I need to initialise the DAC pins first? Or is there another way to test for fried DAC pins?
I may have fried my DAC pins on T_3.6 (but I'm unsure how). I just stopped getting audio while debugging a project.
I've tried a very simple sketch (below) to see if they are working, but I read no voltage between the pin and AGND (either pin).
Is my sketch correct? Do I need to initialise the DAC pins first? Or is there another way to test for fried DAC pins?
Code:
void setup() {
// put your setup code here, to run once:
analogWrite( 21, (uint32_t)(4095 * 1) );
analogWrite( 22, (uint32_t)(4095 * 0.5) );
}
void loop() {
// put your main code here, to run repeatedly:
}