Commit graph

12 commits

Author SHA1 Message Date
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
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
Jeff Epler
56877f7cb1 remove bad-whitespace pylint directive 2020-08-23 11:01:52 -05:00
dherrada
129e02d563 Ran black, updated to pylint 2.x 2020-03-16 16:00:49 -04: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