We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2108ae1 + 7522ce1 commit 261a183Copy full SHA for 261a183
adafruit_dht.py
@@ -79,7 +79,7 @@ def __init__(
79
self._temperature = None
80
self._use_pulseio = use_pulseio
81
if "Linux" not in uname() and not self._use_pulseio:
82
- raise Exception("Bitbanging is not supported when using CircuitPython.")
+ raise ValueError("Bitbanging is not supported when using CircuitPython.")
83
# We don't use a context because linux-based systems are sluggish
84
# and we're better off having a running process
85
if self._use_pulseio:
0 commit comments