There are a few errors (mostly typos) in the bitbang modules for pyBusPirate.
* In the pyBusPirate rawwire module, two commands (wire_cfg and
bulk_clock_tick) aren't converting the integer to char before writing to the
serial port.
There should be
self.port.write(chr(0x80 | pins))
instead of
self.port.write(0x80 | pins)
etc.
* The import directive at the top of rawwire.py says "BinBang" instead of
"BitBang"
* In BitBang.py the parameter to raw_set_pins is called "pins", however, in the
code it's referenced as "config".
Original issue reported on code.google.com by skuratov...@gmail.com on 1 Aug 2011 at 7:46
Original issue reported on code.google.com by
skuratov...@gmail.com
on 1 Aug 2011 at 7:46