bug fix
This commit is contained in:
parent
d6c111a070
commit
39886682b4
1 changed files with 1 additions and 2 deletions
|
@ -115,5 +115,4 @@ if __name__ == "__main__":
|
|||
listener.register(i, pifacedigitalio.IODIR_ON, switch_pressed)
|
||||
listener.register(i, pifacedigitalio.IODIR_OFF, switch_unpressed)
|
||||
listener.activate()
|
||||
pfd = pifacedigitalio.PiFaceDigital()
|
||||
chch_status_output(pfd)
|
||||
chch_status_output(listener.chip)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue