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
Limor "Ladyada" Fried
1d6dec350a
Merge pull request #37 from dunkmann00/listen-for-passive-target
...
Add support to 'listen' for tags
2020-08-19 11:31:49 -04: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
50de551a2e
Fixed discord invite link
2020-07-08 16:49:05 -04:00
Dan Halbert
ccc822d38e
Merge pull request #33 from adafruit/black-update
...
Black reformatting with Python 3 target.
2020-04-09 22:06:12 -04:00
Kattni Rembor
848370a318
Black reformatting with Python 3 target.
2020-04-09 14:00:05 -04:00
sommersoft
5b13f043af
build.yml: add black formatting check
...
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-04-07 16:08:08 -05:00
Kattni
af8fa2a00a
Merge pull request #32 from adafruit/pylint-update
...
Ran black, updated to pylint 2.x
2020-03-17 16:46:38 -04:00
dherrada
d488bbd852
Re-ran black
2020-03-17 15:40:30 -04:00
dherrada
18858f7604
Merge branch 'master' into pylint-update
2020-03-17 15:39:46 -04:00
Kattni
42192bfeaf
Merge pull request #30 from FoamyGuy/master
...
Change get_firmware_version() function to a property
2020-03-17 15:23:09 -04:00
dherrada
129e02d563
Ran black, updated to pylint 2.x
2020-03-16 16:00:49 -04:00
sommersoft
d9b547eb5f
update code of coduct: discord moderation contact section
...
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-15 18:28:07 -05:00
Kattni
9eb9697b12
Merge pull request #31 from sommersoft/patch_coc
...
Update Code of Conduct
2020-03-13 15:45:10 -04:00
sommersoft
cddb7b42f6
update code of conduct
2020-03-13 13:41:40 -05:00
sommersoft
87e0e39006
update pylintrc for black
...
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-08 19:07:25 -05:00
sommersoft
dc314b270c
build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'
...
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-05 10:06:30 -06: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
474f246508
update examples to use firmware_version property
2020-02-29 12:08:24 -06:00
FoamyGuy
cea2d9bfc6
change get_firmware_version() function to firmware_version property
2020-02-29 11:59:23 -06:00
sommersoft
14749b1902
update pylint examples directive
...
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-01-14 17:17:51 -06:00
Jeff Epler
9b42c7444e
Merge pull request #29 from basil-huber/spi_buffer_fix
...
PN532_SPI._wait_ready: fixed command overwriting
2020-01-07 17:36:11 -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
Limor "Ladyada" Fried
34c3dfcf76
Merge pull request #27 from adafruit/dherrada-patch-1
...
Moved repository from Travis to GitHub Actions
2019-12-28 14:36:06 -05:00
dherrada
00c2b9ac0c
Moved repository from Travis to GitHub Actions
2019-12-26 17:25:17 -05:00
Kattni
eb6727ec67
Merge pull request #26 from adafruit/dherrada-patch-1
...
Removed building locally section from README, replaced with documenta…
2019-10-21 18:57:12 -04:00
dherrada
1cefa62f3a
Removed building locally section from README, replaced with documentation section
2019-10-17 19:34:24 -04:00
Carter Nelson
0462a162dc
Merge pull request #25 from xon235/fix
...
Add commented out import for DigitalInOut
2019-08-28 12:01:57 -07:00
YiSuHo
be99db456d
Add comment for DigitalInOut import
2019-08-28 11:52:28 +09:00
YiSuHo
5de83ddcf7
Add commented out import for DigitalInOut
...
This seems to be the better way in order to avoid confusion
2019-08-23 09:30:57 +01:00
Carter Nelson
b949e87e1a
Merge pull request #24 from tgikal/tgikal-SPI-read_passive_target-timeout
...
SPI read_passive_target timeout
2019-07-03 14:30:27 -07: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
Kattni
949a5c6213
Merge pull request #21 from fezthedev/readwrite_mifare
...
Copied and modified readwrite tutorial to support mifare classic cards
2019-05-15 14:08:54 -04:00
Kattni
1ef38a470d
Rename file.
2019-05-15 13:38:33 -04:00
Melissa LeBlanc-Williams
3d9866bf46
Merge pull request #22 from dherrada/master
...
Added sensor name to example filename
2019-05-11 07:44:04 -07:00
dherrada
1f1b91ee63
Added sensor name to example filename
2019-05-10 11:17:14 -04:00
Fezthedev
fae45efa06
Attempt to make Travis happy
2019-05-07 13:43:54 -04:00
Fezthedev
ea97723594
Copied and modified readwrite tutorial to support mifare classic cards
2019-05-07 13:19:56 -04:00
Limor "Ladyada" Fried
6e2b2a6688
Merge pull request #18 from jerryneedell/jerryn_ntag203
...
fix readwrite_ntag203.py example
2019-02-03 13:23:52 -05:00
jerryneedell
c8acb3f9df
Merge pull request #16 from Tasm-Devil/master
...
remove the flush=True argument
2019-02-03 12:20:47 -05:00
Jerry Needell
e97487a9d7
fix readwrite_ntag203.py example
2019-02-03 12:00:02 -05:00