-
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
On the esp32 board, the device does not respond to the queryAnalogMapping command #145
Comments
Hmmm... I can't really confirm this, but I can confirm that the reply is partially wrong (it reports an analog mapping for pins which do not even have analog support). Can you try what happens if your comment out everything but |
Comment like this. It's still hang up. void systemResetCallback()
{
// for (byte i = 0; i < TOTAL_PINS; i++) {
// if (IS_PIN_ANALOG(i)) {
// Firmata.setPinMode(i, PIN_MODE_ANALOG);
// } else if (IS_PIN_DIGITAL(i)) {
// Firmata.setPinMode(i, PIN_MODE_OUTPUT);
// }
// }
firmataExt.reset();
} |
I guess you need to debug that and check the raw bytes transferred. Looking at your log above, something is wrong anyway, since the CAPABILITY_RESPONSE is much longer than what's printed above. I have no javascript-experience, so I'm unable to trace down the behavior there. Since it works with other client software, I believe it's not a firmware issue, though. |
OK, I will check inside more. |
Test with Firmata.js. I add some debug info.
The text was updated successfully, but these errors were encountered: