Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

vishen/raspberrypi-thermometer

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry PI Thermometer

A thermometer using the Raspberry PI and Wire Digital Temperature Sensor.

After following the prerequisites, and attaching the temperature sensor; the code will grab the device id, and print out the temperature to stdout.

Prerequisite

Building for Raspberry PI

$ GOOS=linux GOARCH=arm GOARM=7 go build -o ./build/armv7-linux/thermometer

Running

$ pi@raspberrypi:~/raspberrypi-thermometer $ ./build/armv7-linux/thermometer
Temperature: 16.625
Temperature: 16.687
Temperature: 16.625
Temperature: 16.687
Temperature: 16.625
Temperature: 16.687
^C

About

Raspberry PI Thermometer using Wire Digital Temperature Sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.