public class MCP3208GpioExample extends Object
This example code demonstrates how to setup a custom GpioProvider for analog output pin using the MCP3208 ADC chip.
This GPIO provider implements the MCP3208 12-Bit Analog-to-Digital Converter (ADC) as native Pi4J GPIO pins.
The MCP3208 is connected via SPI connection to the Raspberry Pi and provides 8 GPIO analog input pins.
Constructor and Description |
---|
MCP3208GpioExample() |
Copyright © 2012–2016 Pi4J. All rights reserved.