]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/sdk/python/tos.py
Add a small delay between the packets to improve the performance at 115200bps for...
[tinyos-2.x.git] / support / sdk / python / tos.py
index 5d1d4eefa661e1a55447c02c5012e2d1eaeaf1cf..bbce96f2dac4989cb2b7e7bec1e5ef98e968204b 100644 (file)
@@ -113,6 +113,7 @@ class Serial:
         #print "DEBUG: putBytes:", data
         for b in data:
             self._s.write(struct.pack('B', b))
+            time.sleep(0.000001)
 
     def getTimeout(self):
         return self._s.timeout