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 a3bcfd6 commit 510bd11Copy full SHA for 510bd11
ports/raspberrypi/common-hal/digitalio/DigitalInOut.c
@@ -140,6 +140,11 @@ void common_hal_digitalio_digitalinout_set_value(
140
141
bool common_hal_digitalio_digitalinout_get_value(
142
digitalio_digitalinout_obj_t *self) {
143
+ #if CIRCUITPY_CYW43
144
+ if (IS_CYW(self)) {
145
+ return cyw43_arch_gpio_get(self->pin->number);
146
+ }
147
+ #endif
148
return gpio_get(self->pin->number);
149
}
150
0 commit comments