You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
def raw_set_pins(self, pins):
self.port.write(chr(0x80 | config))
What is the expected output? What do you see instead?
File "/usr/local/lib/python2.7/dist-packages/pyBusPirateLite/BitBang.py", line 126, in raw_set_pins
self.port.write(chr(0x80 | config))
NameError: global name 'config' is not defined
Please provide any additional information below.
Either change config to pins on line 126 or pins to config on line 125
Original issue reported on code.google.com by [email protected] on 21 Feb 2012 at 3:12
The text was updated successfully, but these errors were encountered:
I have successfully read the frequency of a RH10D humidity sensor.
hacky code below which discovered this buggette.
i2c.BBmode()
print "Requesting Freq check"
i2c.raw_cfg_pins(PinCfg.AUX);
i2c.raw_set_pins(BBIOPins.AUX | BBIOPins.PULLUP | BBIOPins.POWER);
i2c.port.write("\x16")
i2c.timeout(2)
raw_data = i2c.response(4, True)
Original issue reported on code.google.com by
[email protected]
on 21 Feb 2012 at 3:12The text was updated successfully, but these errors were encountered: