Lines Matching full:byte
31 # reads the last byte of data in the EEPROM, inverts it, writes
34 # Read the last byte of the EEPROM area
37 byte = nfcTag.readByte(addr)
39 print "Read byte: ", format(byte, '02x')
42 byte = (~byte & 0xff)
43 nfcTag.writeByte(addr, byte)
44 print "Wrote inverted byte: ", format(byte, '02x')
47 byte = nfcTag.readByte(addr)
48 print "Read byte: ", format(byte, '02x')