You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
203 B
Python

#!/usr/bin/python3
import sys
GPIOPATH = "/sys/class/gpio/"
fo = open(GPIOPATH + "gpio60/direction", "w")
fo.write("out")
fo.close()
fo = open(GPIOPATH + "gpio60/value", "w")
fo.write("1")
fo.close()