-
Notifications
You must be signed in to change notification settings - Fork 0
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
no method for 'pinRead' #2
Comments
After beta stage I've renamed pinRead method to pinState because it's purpose is reading state of pin, not value of pin. If you're trying to read value of pin you can use digitalIn method. It's similiar to analogIn but instead of pin number you should pass port number (for Uno, Port 0 is pin 0-7, Port 1 is pin 8-13, Port 2 is A0-5). Clearly help file is caused this confusion. I'ts my mistake, sorry about that. Will update it soon. |
Nice, thanks for the clarification! |
Help file updated in d86714d. Thanks! |
Under OSX 10.15.4, pd 0.51.4, pdfirmata.osx64 v2.0.0:
When send "pinRead 13" message, the console returns:
pdfirmata: no method for 'pinRead'
The text was updated successfully, but these errors were encountered: