-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-C3 GPIO's is_set_high
and is_set_low
functions always return false
/true
respectively
#17
Comments
Looking into it... |
Will continue tmr after wrestling with it for an hour and then realizing I've not connected it to the Amp, but to the (switched off) lab power supply. My suspicion is that the |
Thank you for looking into it. I apologize, I should have spent more time on this before posting. It does indeed seem like the
|
is_set_high
and is_set_low
functions always return false
/true
respectively
No need to apologize, sorry for putting in something without actually testing. Now, the little drama is, I don't see an API in What I can do is to temporarily remove the support for |
OK so this is useful info. However and as expected, bindgen is not intelligent enough (yet) to generate macro expansions for functional macros, so |
This is a strange issue, as I have had this working before.
My application runs as expected, with the exception that the LED does not blink. The loop index is printed over serial for each iteration of the loop as intended. I have confirmed my hardware and test setup are okay by flashing the
blinky
example fromesp-idf
, which worked as expected.I have added the minimal project to a repository, generated from
esp-idf-template
:https://github.com/jessebraham/esp32c3-idf-hal-test
Rust nightly version is quite new:
I'm hoping I'm missing something silly here, but I have tried using multiple GPIOs, tried resetting the pin first, all to no avail.
The text was updated successfully, but these errors were encountered: