Skip to content

Commit

Permalink
Gas: Fix gpiodevice.get_pin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Apr 23, 2024
1 parent 96f9033 commit 345d75d
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 345d75d

Please sign in to comment.