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.
$ GOOS=linux GOARCH=arm GOARM=7 go build -o ./build/armv7-linux/thermometer
$ 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