Skip to content

alxyng/mcp3424

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mcp3424

Linux userspace I2C module for the MCP3424 ADC. Code was originally ported from the code found here. This has been used with ABElectronics' ADC Pi and ADC Pi Plus. See main.c for an example of how to use the module.

Dependencies

This module depends on libi2c-dev which can be installed on debian by running sudo apt-get install libi2c-dev.

Building and running

To compile main.c run:

make

to test run:

./main

Ensure that the device is correct for your adapter e.g. on Raspberry Pi Model A+ and Raspberry Pi 2 Model B the device is /dev/i2c-1.

About

Linux userspace I2C module for the MCP3424 ADC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published