You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
EvanSimpson
changed the title
Pin API doesn't distinguish digital vs analog pin methods
Pin API docs don't distinguish digital vs analog pin methods
Feb 8, 2015
The documentation lists methods like
pin.input()
without distinguishing that they only exist in digital pin objects and not analog pin objects.For example, the following script
produces this error
Whereas
works as expected.
Quick check to see the differences in methods:
The text was updated successfully, but these errors were encountered: