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

8 lines
114 B
Python
Raw Normal View History

2019-06-24 22:57:57 +02:00
#!/usr/bin/python
import sys
try:
import RPi.GPIO as GPIO
sys.exit(0)
except ImportError:
sys.exit(1)