-
Notifications
You must be signed in to change notification settings - Fork 73
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
I need help with esp32 pins #154
Comments
Unfortunately, I do not know what pyfirmata is trying to tell you there. The error message is quite unreadable. Which version of ConfigurableFirmata are you using? Maybe @tino (maintainer of pyfirmata) has an idea what's going on. Maybe the board reports a mode that pyfirmata doesn't understand? |
I'm sorry, I don't think I can help you here. The only thing I can think of is that you'll probably set up a good definition for the board, depending on the layout. |
@tino I'm very poor in python, but I think the code that parses the different pin modes is to simplistic. Have you ever tested against a recent ConfigurableFirmata version? A single pin can report 10 or more different possible modes, and you seem to only expect input, output or PWM. |
Nope. If new modes are present that certainly is missing indeed. |
pyfirmata\pyfirmata.py", line 218, in get_pin
raise InvalidPinDefError('Invalid pin definition: {0} at position 3 on {1}'
pyfirmata.pyfirmata.InvalidPinDefError: Invalid pin definition: d:16:i at position 3 on COM5
i get this error.
im a total noob trying to get input from a broken esp32 I found without wifi.
what do i do? i used pyfirmata before with an arduino uno but never with an esp32 or anything else
The text was updated successfully, but these errors were encountered: