Closed matsujirushi closed 4 years ago
Board: Seeeduino XIAO
Code:
void setup() { pinMode(DAC0, OUTPUT); } void loop() { for (int i = 0; i < 1024; ++i) { analogWrite(DAC0, i); delay(1); } }
Output:
I got the cause. Remove pinMode() call.
void setup() { // pinMode(DAC0, OUTPUT); } void loop() { for (int i = 0; i < 1024; ++i) { analogWrite(DAC0, i); delay(1); } }
Board: Seeeduino XIAO
Code:
Output: