diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-09-05 17:29:15 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-09-05 17:29:15 +0100 |
| commit | 903c973ef50d63eaf4e92cc0c3253534628d6a6d (patch) | |
| tree | 554cce1f42dbc42fee0e57bd1ad8c394a54c8558 /wim.py | |
| parent | d1843918d935e62f13535d121e04e632af47fcf7 (diff) | |
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) |
