Browse Source

Update 'remoteGpioFromPi.py'

main
rra 4 years ago
parent
commit
16c49aef05
  1. 4
      remoteGpioFromPi.py

4
remoteGpioFromPi.py

@ -12,8 +12,8 @@ alicePi = PiGPIOFactory(host='10.10.10.26')
led = LED(17)
button_alice = Button(17, pin_factory=bobPi)
button_bob = Button(17, pin_factory=alicePi)
button_alice = Button(18, pin_factory=bobPi)
button_bob = Button(18, pin_factory=alicePi)
led.source = all_values(button_alice, button_bob)

Loading…
Cancel
Save