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

7 lines
96 B
Python
Raw Permalink Normal View History

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