Skip to content

Commit 6b62199

Browse files
committed
DM: don't use normal delay in analogWrite
1 parent 1260270 commit 6b62199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/wiring_analog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ void analogWrite(uint32_t pin, uint32_t value)
388388
DAC->DATA[1].reg = value;
389389
}
390390

391-
delay(10);
391+
delayMicroseconds(10000);
392392
}
393393

394394
//ERROR!

0 commit comments

Comments
 (0)