Skip to content

Conversation

jguille2
Copy link

As it's is written, it isn't necessary to initiate an analog read on an analog pin at the beginning, so current code is ok for a first operation.
But if I change this pinMode and after this, I turn again to "ANALOG", the reporting is not updating its value because we need to inform the board.

I keep the pin "recalculation" to keep compatibility with current firmata.js version.

Thanks
Joan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant