diff options
Diffstat (limited to 'wim.py')
| -rwxr-xr-x | wim.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -78,6 +78,7 @@ except: from btscan import * scan=scanner("127.0.0.1",5401,False) + try: for t in doc.bt.trigger: scan.d.dm.triggers[t.id]=(t.command,t.param) @@ -144,5 +145,5 @@ while True: print "wim: sending:",str(r[0]),str(r[1]) #pd needs \n at end of message outsock.sendto( str(r[0])+' '+str(r[1])+'\n', (PD_IP, PD_PORT) ) - time.sleep(1.0) + time.sleep(0.1) |
