Update remote gpio docs page

This commit is contained in:
Ben Nuttall
2017-07-26 18:03:26 +01:00
parent 5c8e2d13a9
commit d5f6290b0a
3 changed files with 60 additions and 43 deletions

View File

@@ -1,10 +0,0 @@
from gpiozero import LED
from gpiozero.pins.pigpio import PiGPIOFactory
from signal import pause
factory = PiGPIOFactory(host='raspberrypi.local')
led = LED(17, pin_factory=factory)
led.blink()
pause()