From 4c707e04ad49e5d372cb9e66919d52726a565edc Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 15 Jun 2013 00:25:08 +0200 Subject: [PATCH] I2C: add conf example --- contrib/libnfc/pn532_i2c_on_rpi.conf.sample | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 contrib/libnfc/pn532_i2c_on_rpi.conf.sample diff --git a/contrib/libnfc/pn532_i2c_on_rpi.conf.sample b/contrib/libnfc/pn532_i2c_on_rpi.conf.sample new file mode 100644 index 0000000..8f3c45c --- /dev/null +++ b/contrib/libnfc/pn532_i2c_on_rpi.conf.sample @@ -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