With a MAX3421 and the MAXUSB module, the GoodFET can now do both USB Host and USB...
[goodfet] / client / goodfet.maxusbhost
1 #!/usr/bin/env python
2
3 #GoodFET MAXIM MAX3421 Host
4 #by Travis Goodspeed
5
6 import sys;
7 import binascii;
8 import array;
9
10 from GoodFETMAXUSB import GoodFETMAXUSBHost;
11
12 #Initialize FET and set baud rate
13 client=GoodFETMAXUSBHost();
14 client.serInit()
15
16
17 client.MAXUSBsetup();
18 client.hostinit();
19