non-null
authorDan White <dan@whiteaudio.com>
Tue, 16 Oct 2012 05:21:18 +0000 (00:21 -0500)
committerDan White <dan@whiteaudio.com>
Tue, 16 Oct 2012 05:21:18 +0000 (00:21 -0500)
python-lib/mpsse-test.py
python-lib/usbio.py

index dae6e0a54e13b9ac782912be4e5255938f97e528..b575234331ece99b19a3ea5518c09933894af3bf 100755 (executable)
@@ -140,10 +140,10 @@ def get_i_supply():
 ##############################################################################
 # Setup FTDI serial ports
 #
-#spi0 = usbio.AtoiSPI0(1000e3) #port A
-#spi1 = usbio.AtoiSPI1(1000e3)  #port B
-spi0 = usbio.NullSPI(1000e3) #port A
-spi1 = usbio.NullSPI(1000e3)  #port B
+spi0 = usbio.AtoiSPI0(1000e3) #port A
+spi1 = usbio.AtoiSPI1(1000e3)  #port B
+#spi0 = usbio.NullSPI(1000e3) #port A
+#spi1 = usbio.NullSPI(1000e3)  #port B
 #spi1.context.pidle = spi1.context.pstop = 0xf8
 #spi1.Stop()
 
index 5b807a582945f7bd05060ec148df42508171f343..18b736579b9786ac8fd98ebbe78f9900b4f0e648 100644 (file)
@@ -4,7 +4,7 @@
 from time import sleep
 
 import ftdi1 as ftdi
-import mpsse
+#import mpsse
 import struct
 from math import log