hubcitylabs / py532lib Goto Github PK
View Code? Open in Web Editor NEWThis package contains the useful stuff to communicate with a PN532 NFC chip in Python. Optimized for the RaspberryPi.
Home Page: http://wiki.hubcitylabs.org/Py532lib
This package contains the useful stuff to communicate with a PN532 NFC chip in Python. Optimized for the RaspberryPi.
Home Page: http://wiki.hubcitylabs.org/Py532lib
Hello,
I got an program running but I notest that the program is waiting for a card to be read
is there an option that the loop keeps polling for a card without waiting for the an card and when it detects an card it returns the data
Thx
Hi, I would like to know if there is documentation for this library and where I can find it.
I'm having issues with the module and rfid, sometimes when it doesn't read well it crashes.
tag_type = self.pn532.mifare_read(address)
File "/home/pi/.py/lib/python3.7/site-packages/py532lib/mifare.py", line 181, in mifare_read
return self.in_data_exchange(bytearray([MIFARE_COMMAND_READ,address]))
File "/home/pi/.py/lib/python3.7/site-packages/py532lib/mifare.py", line 112, in in_data_exchange
raise IOError("InDataExchange returned error status: {0:#x}".format(response[1]))
OSError: InDataExchange returned error status: 0x1
When I try to try/catch the error and read again, it blocks the rfid. It stops to work and I need to power off/on the rfid.
Any hint?
Is is possible to check first if a tag is available?
Hi there. I am new to python and have no idea how to install python libraries. Can you tell me how to do this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.