hsI2C-0.1.3: I2C access for Haskell and Linux

Copyright(c) Marc Fontaine 2017
LicenseBSD3
MaintainerMarc.Fontaine@gmx.de
Stabilityexperimental
PortabilityGHC-only
Safe HaskellSafe
LanguageHaskell98

System.Hardware.I2CTest

Description

This module demonstrates how to access I2C hardware. The examples print the barometer and the compass mesurements of an I2C IMU (Inertial mesurement Unit). The examples assume that an IMU unit is attached to /dev/i2c-7. Don't use these examples on the internal I2C bus of your PC or Laptop. (Unless you know what you are doing.) As I2C addresses are only 7 Bit wide there is some chance that the addresses of the IMU chips colide with other hardware and that this other hardware gets confused.

Documentation