1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/hardware/PiGpio/testgpio.py
2019-06-24 21:57:57 +01:00

8 lines
114 B
Python
Executable File

#!/usr/bin/python
import sys
try:
import RPi.GPIO as GPIO
sys.exit(0)
except ImportError:
sys.exit(1)