Commit graph

12 commits

Author SHA1 Message Date
Kumi b1baecaf09
Refactor pin initialization in MFRC522 class
- Raise error for invalid pin type for `rst` or `cs` if not `int` or `Pin` instance
- Set `self.rst` based on `rst` type
- Set `self.cs` based on `cs` type
2023-08-18 11:50:19 +02:00
Kumi b3937dd93c
Initialize reset and chip select pins in MFRC522 constructor conditionally
In the MFRC522 class constructor, the reset and chip select pins are now initialized conditionally based on the types of their corresponding arguments. This allows the constructor to accept both Pin objects and integer pin numbers as arguments for these pins.
2023-08-18 11:43:39 +02:00
Kumi af87a692cb
Current status 2023-08-18 10:47:39 +02:00
Stefan Wendler 85dbceae26 Merge pull request #4 from jr-k/master
Update mfrc522.py
2017-08-04 21:03:38 +02:00
JRK 9de136968e Update mfrc522.py
bad OR syntax...
2017-07-25 22:44:28 +02:00
JRK a4f2a148b7 Update mfrc522.py
Added LoPy and FiPy platform (same API)
2017-07-25 17:29:13 +02:00
Stefan Wendler 31247a8fb3 Fixed broken table layout. 2016-05-31 21:16:42 +02:00
Stefan Wendler 14f8f8b9bb Added support for WiPy. 2016-05-31 21:15:22 +02:00
Stefan Wendler 2083fa5a69 Deploy script. 2016-05-30 22:38:31 +02:00
Stefan Wendler 55da07e5c4 First commit. 2016-05-30 22:28:53 +02:00
Stefan Wendler f66992469c First commit 2016-05-30 22:27:29 +02:00
Stefan Wendler 6f3ebea269 Initial commit 2016-05-30 21:54:41 +02:00