tag.is_present always returns FALSE
Asked by
Matija Urh
Hi,
IHi,
I have a small script (for now) which reads NFC tags and outputs what it gets
```
import nfc
def connected(tag):
print "> def connected"
print tag.is_present # Always False
print tag # Type4Tag ATQ=0400 SAK=60 UID=08a52a0d ATS=0575807002
# tag.read_
clf = nfc.Contactless
print(clf)
while True:
clf.
```
At the end I would like to read 'read_binary' but first I stopped at 'tag.is_present' which is always false.
Am I doing something wrong here?
# Specs
* Raspberry Pi
* ACR122 reader
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- nfcpy Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Matija Urh for more information if necessary.
To post a message you must log in.