PiSupply / PaPiRus

Resources for PaPiRus ePaper eInk displays
https://www.pi-supply.com/product/papirus-epaper-eink-screen-hat-for-raspberry-pi/
Other
347 stars 84 forks source link

Tested shell script to read temperature from LM75B #17

Closed wsmeichinllc closed 8 years ago

wsmeichinllc commented 8 years ago

Need to enable i2c for this.

pi@raspberrypi:~ $ bin/papirus-temp
Temp is -7.125 deg C (19.175 deg F).
pi@raspberrypi:~ $ while true;do bin/papirus-temp;sleep 5;done
Temp is -5.875 deg C (21.425 deg F).
Temp is -5.125 deg C (22.775 deg F).
Temp is -4.375 deg C (24.125 deg F).
Temp is -3.750 deg C (25.250 deg F).
Temp is -3.125 deg C (26.375 deg F).
Temp is -2.500 deg C (27.500 deg F).
Temp is -2.125 deg C (28.175 deg F).
Temp is -1.625 deg C (29.075 deg F).
Temp is -1.250 deg C (29.750 deg F).
Temp is -.500 deg C (31.100 deg F).
Temp is -.125 deg C (31.775 deg F).
Temp is .375 deg C (32.675 deg F).
Temp is .875 deg C (33.575 deg F).
Temp is 1.125 deg C (34.025 deg F).
Temp is 1.625 deg C (34.925 deg F).
Temp is 1.875 deg C (35.375 deg F).
Temp is 2.500 deg C (36.500 deg F).
shawaj commented 8 years ago

It would be good to add code to this to push the temperature readout to the screen if possible?