1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 12:53:22 +00:00

Edge detection callback is now working for the XIO's. Blocking wait_for_edge works for both the AP-EINT1/3 and the XIO's. Need to figure out why AP-EINT1/3 don't work for the callback. This is to help fix issue #9.

This commit is contained in:
Robert Wolterman
2016-07-10 16:37:22 -05:00
parent db4493322d
commit 3d1ecb6b5e
2 changed files with 10 additions and 7 deletions

View File

@ -10,7 +10,6 @@ DO_XIOP2_TEST = True
num_callbacks = 0
def myfuncallback(channel):
global num_callbacks
num_callbacks += 1
@ -19,7 +18,6 @@ def myfuncallback(channel):
loopfunction_exit = False
def loopfunction():
print("LOOP FUNCTION")
for i in xrange(6):