homepage: https://bitbucket.org/fmapE/h2c
changelog-type: ''
hash: 32fcb3552fc4ddd3e1336d59dbb0f695e86c12fa8fa28e1c956cc498dafe0fde
test-bench-deps: {}
maintainer: edwardamsden@gmail.com
synopsis: Bindings to Linux I2C with support for repeated-start transactions.
changelog: ''
basic-deps:
  bytestring: -any
  base: ! '>=4.7 && <5'
  mtl: -any
  resourcet: -any
all-versions:
- '1.0.0'
author: Edward Amsden
latest: '1.0.0'
description-type: markdown
description: ! "# h2c: Haskell bindings to Linux I2C API\n\nH2C is a binding to the
  Linux i2c-tools/i2c-dev API.\nIt uses the I2C_RDWR ioctl for repeated-start communications
  between master and slave.\n\n## Notes\n - You'll probably have to run as root. Getting
  regular users direct access to i2c busses on Linux is tricky.\n - The Linux i2c-stub
  driver that you might think would be useful for testing doesn't support the I2C_RDWR
  ioctl.\n   This is why, if you try to use it, you'll get the \"invalid argument\"
  error.\n\n## Documentation\n` $ stack haddock --open`, find module `System.IO.I2C`\n\nBE
  CAREFUL WITH I2C. It can be used to poke at things like your graphics card, fans,
  &c.\n\nSee my library [bno055-haskell](https://bitbucket.org/fmapE/bno055-haskell)
  for examples of h2c in use.\n\n"
license-name: MIT

Update from Hackage at 2017-07-08T15:40:51Z
Update from Hackage at 2017-07-08T15:40:51Z
