hendrikb / tsic-pigpio

User mode C++ driver for TSIC-306 temperature sensor using PIGPIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tsic-pigpio

This is a simple C++ class for reading values from TSIC 206 & TSIC 306 digital temperature sensors.

Dependencies

Basic instructions

Connect up the TSIC sensor with 3V3, GND and the GPIO pin of your choice, then compile and run as follows:

make
sudo ./tsic-temp -h         # get help
sudo ./tsic-temp -g20       # -g specifies that the sensor is connected to GPIO20, change accordingly!

Optional: install system-wide

sudo make install
sudo tsic-temp

Uninstall:

sudo make distclean

See also:

About

User mode C++ driver for TSIC-306 temperature sensor using PIGPIO


Languages

Language:C++ 97.8%Language:Makefile 2.2%