Skip to content

Commit 2c24d41

Browse files
authored
Merge pull request #30 from ScottMonaghan/main
keep _USE_PULSEIO false for NotImplementedError (allows Jetson Nano Support)
2 parents cc696b8 + 39720fa commit 2c24d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_hcsr04.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
from pulseio import PulseIn
4545

4646
_USE_PULSEIO = True
47-
except ImportError:
47+
except (ImportError, NotImplementedError):
4848
pass # This is OK, we'll try to bitbang it!
4949

5050
__version__ = "0.0.0+auto.0"

0 commit comments

Comments
 (0)