Skip to content

yage99/DHT-lib-raspberry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHT library for raspberry

This library provides a c library for DHT11 temperature reading.

At the same time, a java API wrapped by jni is also avaiable.

How to use

This library required wiringPi be installed first. Refer: http://wiringpi.com/download-and-install/

1. Build by yourself

Run build script as root:

$ sudo sh build.sh

This will install DHT library to your /usr/lib folder which could be loaded by Java through jni.

2. Download library directly

Just download files from lib and you can use it.

Releases

No releases published

Packages

No packages published