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