import time
time.sleep(0.1) # Wait for USB to become ready
# Try state type as 'SINGLE' or 'MULTI'
statetype = 'MULTI'
if statetype == 'SINGLE':
# Test the Single State per Button controller
from SingleStateButtonController import *
SingleStateButtonController().run()
else:
# Test the One state handling multiple button controller
from MultiStateButtonController import *
MultiStateButtonController().run()