From: Dan White Date: Wed, 4 Jul 2012 00:29:50 +0000 (-0500) Subject: no sleeping, go fast! X-Git-Tag: calibrations~35 X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=89acdd8e8bec14188a99709ddc11e8bdf14bda4d;p=430.git no sleeping, go fast! --- diff --git a/python-lib/usbio.py b/python-lib/usbio.py index 4c3b83f..f632969 100644 --- a/python-lib/usbio.py +++ b/python-lib/usbio.py @@ -916,7 +916,6 @@ class ADS8201(object): self.bus.SetCS('adc') self.bus.Start() self.bus.Write(int2str(w, 16)) - sleep(1e-3) self.bus.Stop() def getRegister(self, address): @@ -926,7 +925,6 @@ class ADS8201(object): self.bus.SetCS('adc') self.bus.Start() rval = self.bus.Exchange(int2str(w, 16)) - sleep(1e-3) self.bus.Stop() #i = 8 * (len(rval)-1) #r = 0