Created
July 18, 2019 21:52
-
-
Save unforgiven512/62ba46959deba4cd73f21b6d668b785c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pigpio | |
pi = pigpio.pi() | |
if not pi.connected: | |
exit | |
else: | |
print("pigpio is connected") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment