Search found 3 matches
- Thu Mar 31, 2022 6:32 pm
- Forum: Hardware
- Topic: ESP32 ADC2 worked yesterday, doesn't today with same-ish code
- Replies: 3
- Views: 1938
Re: ESP32 ADC2 worked yesterday, doesn't today with same-ish code
Switching to embedded-hal 0.2.7 fixed it!
- Thu Mar 31, 2022 3:10 pm
- Forum: Hardware
- Topic: ESP32 ADC2 worked yesterday, doesn't today with same-ish code
- Replies: 3
- Views: 1938
Re: ESP32 ADC2 worked yesterday, doesn't today with same-ish code
Are you using WiFi now? ADC2 is incompatible with WiFi. I don't believe so, unless I need to explicitly disable it. This is the entirety of my code: use embedded_hal::adc::nb::OneShot; use esp_idf_sys as _; use esp_idf_hal::prelude::*; use esp_idf_hal::adc::{self, PoweredAdc}; use esp_idf_hal::gpio...
- Thu Mar 31, 2022 5:02 am
- Forum: Hardware
- Topic: ESP32 ADC2 worked yesterday, doesn't today with same-ish code
- Replies: 3
- Views: 1938
ESP32 ADC2 worked yesterday, doesn't today with same-ish code
Hey! I'm pretty new to the world of embedded programming, and even newer to physical electronics, so I'm more than a little worried I perma-fried my new board! I've put together a repository that I hope will explain my setup and code: https://github.com/tecywiz121/esp32-adc The summary is that I'm t...