Alec Delaney
81f03e6573
Update version string
2022-08-16 18:09:14 -04:00
jerryneedell
2b096008e7
revise ntag2xx_read_block() to return None on failure, update example
2022-02-14 16:54:06 -05:00
foamyguy
d65fe24c7f
merge from main
2022-01-04 17:19:13 -06:00
foamyguy
855072799f
Merge branch 'main' into patch-1
2022-01-04 17:18:47 -06:00
dherrada
a971bbce7c
Linted
2021-11-08 11:19:36 -05:00
Ernesto Ruge
c9fd4061b4
accept longer ATS for ISO14443A-4 cards
2021-03-06 12:40:37 +01:00
dherrada
931891cad1
Ran pre-commit, added licenses
2021-01-14 11:45:11 -05:00
George Waters
7d7e3ce45f
Satisfy black formatting
2020-09-10 15:42:03 -04:00
George Waters
b756ef243e
Update docstrings
2020-09-09 10:34:05 -04:00
George Waters
aef2e8115f
Correct addition to frame length when reading
2020-09-08 21:41:18 -04:00
George Waters
74deaee495
Update UART mode
...
- Update `_wakeup` to come out of power_down and put the pn532 back into
normal mode.
- `_wait_ready` now actually checks to see if the pn532 is ready
- improve how data is written out
2020-09-08 21:40:21 -04:00
George Waters
80df78725f
Update SPI _wakeup
to come out of power_down
...
`_wakeup` also puts the pn532 back into normal mode.
Also removed some delays that aren't necessary.
2020-09-08 21:40:21 -04:00
George Waters
cdedaf16b9
Update I2C _wakeup
to come out of power_down
...
`_wakeup` also puts the pn532 back into normal mode.
2020-09-08 21:40:21 -04:00
George Waters
790340eec2
Add ability to power down pn532
2020-09-08 21:40:21 -04:00
Dan Halbert
62ddaaf6e1
Merge pull request #38 from jepler/remove-bad-whitespace-directive
...
remove bad-whitespace pylint directive
2020-08-23 13:13:16 -04:00
Jeff Epler
56877f7cb1
remove bad-whitespace pylint directive
2020-08-23 11:01:52 -05:00
George Waters
02c063079a
Add support to 'listen' for tags
...
This adds support to break the `read_passive_target` function up into
two parts if desired. First tell the PN532 to listen for tags, and then
explicitly ask to read the UID from the tag. This can be useful when
trying to simultaneously scan tags and run timing sensitive code, like
updating neopixels, and don't want to wait for the timeout delay of
`read_passive_target`.
2020-07-27 15:53:36 -04:00
dherrada
18858f7604
Merge branch 'master' into pylint-update
2020-03-17 15:39:46 -04:00
dherrada
129e02d563
Ran black, updated to pylint 2.x
2020-03-16 16:00:49 -04:00
FoamyGuy
0b8cc7f076
re-enable pylint check. Try fix by setting result to variable.
2020-03-02 19:41:07 -06:00
FoamyGuy
0e7d9b938d
pylint disable pointless-statement in __init__()
2020-02-29 12:41:37 -06:00
FoamyGuy
0c287cd375
pylint ignore statement effect in __init__()
2020-02-29 12:37:06 -06:00
FoamyGuy
cea2d9bfc6
change get_firmware_version() function to firmware_version property
2020-02-29 11:59:23 -06:00
Basil Huber
3da8e1652c
PN532_SPI._wait_ready: fixed command overwriting
...
Use separate buffer for sending and receiving form SPI
This fixes #28
2020-01-05 21:58:13 +01:00
tgikal
5c75384f83
Fix SPI read_passive_target timeout
2019-07-03 15:12:18 -04:00
tgikal
3f759879c8
Fix SPI read_passive_target timeout
...
Moving the `with` statement seems to correct the timeout issue.
2019-07-01 14:48:24 -04:00
tgikal
c44abc207e
Sped up for the RaspberryPi SPI
...
Tested writing 437 bytes of data to an NTAG215.
Original script: 18.9 seconds write, 19.2 seconds read.
Modified script: 7.6 seconds write, 7.8 seconds read.
2019-06-28 15:12:41 -04:00
caternuson
b55dcd29d0
ok, fine, if you insist
2018-08-28 13:26:02 -07:00
caternuson
97b5c5c5d6
linter said knock you out
2018-08-28 13:21:44 -07:00
caternuson
6bdd671105
initial refactor
2018-08-28 12:36:54 -07:00