Skip to content

Commit a30769c

Browse files
authored
Added documentation for BCM output
1 parent 9e79afb commit a30769c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Furthermore, the IRQ pin is configurable by passing *pin_irq=__BOARD numbering p
4141

4242
__NOTE:__ For RPi A+/B+/2/3 with 40 pin connector, SPI1/2 is available on top of SPI0. Kernel 4.4.x or higher and *dtoverlay* configuration is required. For SPI1/2, *pin_ce=__BOARD numbering pin__* is required.
4343

44+
You may change BOARD pinout to BCM py passing *pin_mode=RPi.GPIO.BCM*. Please note, that you then have to define all pins (irq+rst, ce if neccessary). Otherwise they would default to perhaps wrong pins (rst to pin 15/GPIO22, irq to pin 12/GPIO18).
45+
4446
## Usage
4547
The library is split to two classes - **RFID** and **RFIDUtil**. You can use only RFID, RFIDUtil just makes life a little bit better.
4648
You basically want to start with *while True* loop and "poll" the tag state. That's done using *request* method. Most of the methods

0 commit comments

Comments
 (0)