Hi,
what is this AN_INPUT type referenced in the docs?
docs:
I cannot find it in the pinMode() docs anymore:
I imagine it is a deprecated value, but wanted to confirm.
Thanks!
Hi,
what is this AN_INPUT type referenced in the docs?
docs:
I cannot find it in the pinMode() docs anymore:
I imagine it is a deprecated value, but wanted to confirm.
Thanks!
When you call analogRead()
is changes the pin mode to be an analog input automatically, so you don't need to set it. It happens to set it to AN_INPUT
but since there is no need to call pinMode()
with that parameter, it's not listed.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.