We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81cbf83 commit 793496dCopy full SHA for 793496d
cores/rp2040/wiring_digital.cpp
@@ -63,6 +63,7 @@ extern "C" void digitalWrite(pin_size_t ulPin, PinStatus ulVal) {
63
DEBUGCORE("ERROR: Illegal pin in pinMode (%d)\n", ulPin);
64
return;
65
}
66
+ gpio_set_function(ulPin, GPIO_FUNC_SIO);
67
if (_pm[ulPin] == INPUT_PULLDOWN) {
68
if (ulVal == LOW) {
69
gpio_set_dir(ulPin, false);
0 commit comments