PiFace Digital 2 – I/O udvidelsePiface ia designed for Raspberry Pi, but it can be used to other processor-cards like Arduino as-well. The interface is SPI, see the table below "Raspberry pins used by Piface module" for details This example is in language C++. You can see some Python examples in the Gettings started document. Install wiringpi Pins on the PiFace are 200 through 207 for both reading and writing, with pins 208 through 215 reading the state of the output latch register (ie. you can read the state of the output pins) Outputs:
Output latch register :
Inputs:
|
HardwareDownload Getting started document Download MCP23S1 datablad Køb Piface Jumpers Pinout: Raspberry pins used by piface module
|