Add connstring example for SPI on RPi
This commit is contained in:
parent
7c2f8b4cb0
commit
f991771128
3 changed files with 7 additions and 2 deletions
5
contrib/libnfc/pn532_spi_on_rpi.conf.sample
Normal file
5
contrib/libnfc/pn532_spi_on_rpi.conf.sample
Normal file
|
@ -0,0 +1,5 @@
|
|||
## Typical configuration file for PN532 device on R-Pi connected using SPI
|
||||
## Note: to use SPI port on R-Pi, you have to load kernel module spi-bcm2708:
|
||||
## Edit /etc/modprobe.d/raspi-blacklist.conf and comment: #blacklist spi-bcm2708
|
||||
name = "PN532 board via SPI"
|
||||
connstring = pn532_spi:/dev/spidev0.0:500000
|
|
@ -1,5 +1,5 @@
|
|||
## Typical configuration file for PN532 device on R-Pi connected using UART
|
||||
## Note: to use UART port on R-Pi, you have to disable linux serial console:
|
||||
## http://learn.adafruit.com/adafruit-nfc-rfid-on-raspberry-pi/freeing-uart-on-the-pi
|
||||
name = "PN532 board"
|
||||
name = "PN532 board via UART"
|
||||
connstring = pn532_uart:/dev/ttyAMA0
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
## Typical configuration file for PN532 board (ie. microbuilder.eu / Adafruit) device
|
||||
name = "Adafruit PN532 board"
|
||||
name = "Adafruit PN532 board via UART"
|
||||
connstring = pn532_uart:/dev/ttyUSB0
|
||||
|
|
Loading…
Reference in a new issue