From 345d75da1be9ed450d2d390b7a9d93125aca4114 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Tue, 23 Apr 2024 10:24:39 +0100 Subject: [PATCH] Gas: Fix gpiodevice.get_pin. --- enviroplus/gas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enviroplus/gas.py b/enviroplus/gas.py index 3583428..1e78010 100644 --- a/enviroplus/gas.py +++ b/enviroplus/gas.py @@ -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)