Skip to content

Commit

Permalink
Merge pull request #135 from pimoroni/patch-gas
Browse files Browse the repository at this point in the history
Gas: Fix gpiodevice.get_pin
  • Loading branch information
Gadgetoid authored Apr 23, 2024
2 parents 96f9033 + 345d75d commit 0d2c7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enviroplus/gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def setup():
else:
adc.set_sample_rate(1600)

_heater = gpiodevice.get_pin("GPIO24")
_heater = gpiodevice.get_pin("GPIO24", "EnviroPlus", OUTH)

atexit.register(cleanup)

Expand Down

0 comments on commit 0d2c7d4

Please sign in to comment.