-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ADC_MODE doesn't work #1759
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
Comments
Arduino 1.6.8 |
This line has to be outside of function scope, as mentioning in the docs. If it's not, please post the sketch. |
It's right at the top of the file:
|
For the original error I pasted, the line number is not 1 because I was moving it around to see if it would fix it. |
This seems to be caused by arduino-builder not generating correct forward declarations for functions marked with |
Thanks!
|
At the moment plain
cannot get compiled with 1.6.8 |
Workaround for #1759. Using extern "C" qualifiers in sketch breaks compilation in Arduino IDE 1.6.8.
I've confirmed that downgrading to Arduino 1.6.6 bypasses the issue for now. Thanks for looking into this. |
I had the same Problem with : ADC_MODE(ADC_VCC); and Version 1.6.8 add |
i have a related problem : #2913
|
hello! for me it compiles, but i constantly get value 2.75 when ESP.getVcc(); any solution for this? thanks! |
remove 100k resistor attached to A0 |
I'm trying to get use of
ESP.getVcc()
, so I added the following line, per documentation.But I get the following error messages during compilation:
Settings in IDE
Module: NodeMCU v3
Flash Size: 4MB
CPU Frequency: 160MHz
Flash Mode: ?qio?
The text was updated successfully, but these errors were encountered: