wiringOP-Python/tests/piglow.py

5 lines
101 B
Python
Raw Normal View History

2024-06-06 12:13:43 +08:00
import wiringpi
io = wiringpi.GPIO(wiringpi.GPIO.WPI_MODE_PINS)
io.piGlowSetup()
io.piGlowLeg(1,100)