Open MirMiz opened 5 years ago
Trying to call the def get_access_bits(self, c1, c2, c3) function, defined in pirc522/util.py, line 138 I get an AttributeError: 'RFIDUtil' object has no attribute 'get_access_bits'
def get_access_bits(self, c1, c2, c3)
pirc522/util.py
AttributeError: 'RFIDUtil' object has no attribute 'get_access_bits'
I just added
# transport configuration c1 = (0,0,0,0) c2 = (0,0,0,0) c3 = (0,0,0,1) b1,b2,b3 = util.get_access_bits(c1, c2, c3)
in the examples/UtilExample.py, line 12. Also tried to call get_access_bits within the loop, e.g. line 49.
examples/UtilExample.py
get_access_bits
Any suggestions?
https://github.com/ondryaso/pi-rc522/blob/9d9103e9701c105ba2348155e91f21ef338c4bd3/pirc522/util.py#L138-L150
Trying to call the
def get_access_bits(self, c1, c2, c3)
function, defined inpirc522/util.py
, line 138 I get anAttributeError: 'RFIDUtil' object has no attribute 'get_access_bits'
I just added
in the
examples/UtilExample.py
, line 12. Also tried to callget_access_bits
within the loop, e.g. line 49.Any suggestions?