MrYsLab / pymata4

A High Performance Python Client For Arduino Firmata
GNU Affero General Public License v3.0
76 stars 30 forks source link

Replace hardcoded constant use with variable #1

Closed bsilvereagle closed 4 years ago

bsilvereagle commented 4 years ago

Replace the hardcoded ANALOG_PIN constant with the pin variable so the function behaves as expected when called without ANALOG_PIN as the argument.

MrYsLab commented 4 years ago

Great catch - thanks. I will be leaving the release number as-is since the examples are not part of a pypi install, but the example has been merged.