Project

mcp3008pi

0.0
No commit activity in last 3 years
No release in over 3 years
Reads analog values from an MCP3008 10-bit Analog-to-Digital Converter (ADC) connected to a Raspberry Pi
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.9.9, ~> 1.9
 Project Readme

Introducing the mcp3008pi gem

Read analog values from an MCP3008 10-bit Analog-to-Digital Converter (ADC) connected to a Raspberry Pi.

Usage

require 'mcp3008pi'

adc = Mcp3008Pi.new(pin: 0, clock: 18, dout: 23, din: 24, cs: 25)
adc.read

mcp3008 mcp3008pi gem adc