Commit graph

106 commits

Author SHA1 Message Date
dherrada
fc8b488dbf Re-added pylint install to build.yml
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-03-02 17:37:01 -05:00
dherrada
d13fe39bc5 Removed pylint process from github workflow
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-03-02 17:12:37 -05:00
dherrada
16f03a54ae Hardcoded Black and REUSE versions
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-02-10 16:29:39 -05:00
foamyguy
f45cb3f250
Merge pull request #45 from adafruit/REUSE
Ran pre-commit, added licenses
2021-01-19 19:50:24 -06:00
foamyguy
49ecc039c9 update multiline copyright 2021-01-18 18:02:36 -06:00
foamyguy
ac1c1ccaea pylint 2021-01-17 08:59:35 -06:00
foamyguy
382f026b19 update author and year in examples 2021-01-17 08:54:22 -06:00
dherrada
931891cad1 Ran pre-commit, added licenses 2021-01-14 11:45:11 -05:00
dherrada
648a18d308 Added pre-commit-config file
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-01-11 16:30:38 -05:00
dherrada
38d878672b Added pre-commit and SPDX copyright
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-01-11 15:58:18 -05:00
Scott Shawcroft
b741c77cee
Merge pull request #41 from dunkmann00/performance-and-sleep
Improve performance and add ability to sleep
2020-09-18 10:46:13 -07:00
George Waters
7d7e3ce45f
Satisfy black formatting 2020-09-10 15:42:03 -04:00
George Waters
e9dbe2d4fb
Add low power example 2020-09-10 15:33:00 -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
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