Skip to content

Read the ADC pin #29

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

Closed
ghost opened this issue Apr 1, 2015 · 3 comments
Closed

Read the ADC pin #29

ghost opened this issue Apr 1, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 1, 2015

Is there any way to read the ADC pin to get an analogRead()?
fp1yb93i7lqhxhs large

@4refr0nt
Copy link

4refr0nt commented Apr 1, 2015

You can try analogRead(0).
TOUT=ADC
https://github.com/esp8266/esp8266-wiki/wiki/Pin-definition

@igrr
Copy link
Member

igrr commented Apr 1, 2015

As mentioned in the readme,

analogRead(0) reads the value of the ADC channel connected to the TOUT pin.

@ghost
Copy link
Author

ghost commented Apr 1, 2015

Sorry about that. Somehow I missed it.

@ghost ghost closed this as completed Apr 1, 2015
igrr pushed a commit that referenced this issue May 20, 2015
igrr pushed a commit that referenced this issue Oct 29, 2015
madpilot pushed a commit to madpilot/Arduino that referenced this issue Jul 15, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants