MrYsLab / pymata-aio

This is the second generation PyMata client.
https://github.com/MrYsLab/pymata-aio/wiki
GNU Affero General Public License v3.0
155 stars 51 forks source link

Use digital pin number internally when setting analog input mode #87

Closed MrYsLab closed 5 years ago

MrYsLab commented 5 years ago

If you are not seeing the problem at this time, no need to be concerned - this is a very rare scenario. When the fix is provided, there will be no changes to the API.

There is a potential problem if you set pin mode for an analog input pin, and then reset the mode to be a digital input pin and then set the mode to analog input again - analog data changes might not be received after all the set mode changes.

MrYsLab commented 5 years ago

Fixed in v2.28