Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,17 @@
[![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)
[![Build Status](https://travis-ci.org/dasfoo/i2c.svg?branch=master)](https://travis-ci.org/dasfoo/i2c)
[![Coverage Status](https://coveralls.io/repos/dasfoo/i2c/badge.svg?branch=master&service=github)](https://coveralls.io/github/dasfoo/i2c?branch=master)

## Installation

The library needs `i2c-dev.h` header file to compile, but the one that is
shipped with `linux-libc-dev` is not sufficient. You have to install the
"full" version of that header file, e.g. on
[Debian](https://packages.debian.org/stretch/all/libi2c-dev/filelist) or
[Ubuntu](https://packages.ubuntu.com/xenial/all/libi2c-dev/filelist) run:

```
# apt install libi2c-dev
```

Then use `go get -v github.com/dasfoo/i2c` normally.