Makefile

The makefile to create the executable from the source files.

Makefile - 1.11 kB - 01/10/2016 at 16:41

Download

i2c.h

Declaration of the I2C device class.

x-chdr - 1.16 kB - 01/10/2016 at 16:41

Download

i2c.cpp

Implementation of the I2C device class.

x-c++src - 3.78 kB - 01/10/2016 at 16:41

Download

main.cpp

Main creates an I2C device instance to communicate with the TMP100, reads the temperature register from the device and prints the result on the command line.

x-c++src - 1.27 kB - 01/10/2016 at 16:41

Download