You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//how do i check the digital IO pull up state for one of the _digital_input_pins, because I'm experiencing issues that resemble the situation where the initially set pull up value is no longer in effect
195
+
// For ESP32
196
+
// #if defined(ESP32)
197
+
// #include "driver/gpio.h"
198
+
// #include "esp_err.h"
199
+
// #include "esp_log.h"
200
+
// #include "esp_system.h"
201
+
// #include "esp32-hal-log.h"
202
+
// #include "esp32-hal-gpio.h"
203
+
// gpio_pull_mode_t pull_mode;
204
+
// // can't find in idf, but merged issue https://github.com/espressif/esp-idf/issues/12176
205
+
// esp_err_t result = gpio_get_pull_mode((gpio_num_t)pinName, &pull_mode);
0 commit comments