tecronin
Junior Member

Posts: 91
Raspberry Pi: Yes
|
Post by tecronin on Jan 6, 2022 18:12:08 GMT -8
got it working* some minor things
driver lib is not python3 compatible
print statements missing parens use of <> instead of !=
|
|
|
Post by SDL on Jan 6, 2022 18:17:32 GMT -8
Glad to hear that! It's one of those things that we have been thinking about doing, converting all our old drivers to Python3. BP
|
|
tecronin
Junior Member

Posts: 91
Raspberry Pi: Yes
|
Post by tecronin on Jan 16, 2022 19:18:59 GMT -8
i am getting the follow warning
pi@tec-zero2:~/src/SDL_Pi_SHT30 $ p3 testSHT30.py /home/pi/src/SDL_Pi_SHT30/SHT30.py:34: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
code line is GPIO.setup(self.powerpin, GPIO.OUT)
in testSHT30.py
thsen = SHT30.SHT30(powerpin=6)
|
|
|
Post by SDL on Jan 18, 2022 18:52:03 GMT -8
Is SkyWeather running in the background?
You might try rebooting too to clear out that channel.
BP
|
|