Closed bsilvereagle closed 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.
ANALOG_PIN
pin
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.
Replace the hardcoded
ANALOG_PIN
constant with thepin
variable so the function behaves as expected when called withoutANALOG_PIN
as the argument.