Add connstring example for SPI on RPi

This commit is contained in:
Philippe Teuwen 2013-03-27 23:29:59 +01:00
parent 7c2f8b4cb0
commit f991771128
3 changed files with 7 additions and 2 deletions

View 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

View file

@ -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

View file

@ -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