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