I2C: add conf example
This commit is contained in:
parent
77445f1672
commit
4c707e04ad
1 changed files with 6 additions and 0 deletions
6
contrib/libnfc/pn532_i2c_on_rpi.conf.sample
Normal file
6
contrib/libnfc/pn532_i2c_on_rpi.conf.sample
Normal file
|
@ -0,0 +1,6 @@
|
|||
## Typical configuration file for PN532 device on R-Pi connected using I2C
|
||||
## Note: to use SPI port on R-Pi, you have to load kernel modules i2c-bcm2708 and i2c-dev:
|
||||
## Edit /etc/modprobe.d/raspi-blacklist.conf and comment: #blacklist i2c-bcm2708
|
||||
## Edit /etc/modules and add a new line: i2c-dev
|
||||
name = "PN532 board via SPI"
|
||||
connstring = pn532_i2c:/dev/i2c-0
|
Loading…
Reference in a new issue