self.start()
self.startup.get(True) # wait for the thread to get started and acquire the motes
self.eventCallBack = _default_event_cb
+
+ def setEventCallBack(self, func) :
+ self.eventCallBack = func
def run(self):
'''This runs in a separate thread'''