File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2020 git clone https://github.com/mstroh76/Sensors-WiringPi.git
2121 cd Sensors-WiringPi/DHT
2222 g++ -o DHT *.cpp -lwiringPi
23- watch -n 2 ./DHT 4
23+ watch -n 2 ./DHT 22
2424 cd ..
2525 geany DHT.geany &
2626\end {console }
Original file line number Diff line number Diff line change 22Anleitung für Raspjamming
33
44
5- master [ ![ Build Status] ( https://travis-ci.org/mstroh76 /Raspjamming.svg?branch=master )] ( https://travis-ci.org/mstroh76 /Raspjamming )
5+ master [ ![ Build Status] ( https://travis-ci.org/GrazerComputerClub /Raspjamming.svg?branch=master )] ( https://travis-ci.org/GrazerComputerClub /Raspjamming )
66
7- wip [ ![ Build Status] ( https://travis-ci.org/mstroh76 /Raspjamming.svg?branch=wip )] ( https://travis-ci.org/mstroh76 /Raspjamming )
7+ wip [ ![ Build Status] ( https://travis-ci.org/GrazerComputerClub /Raspjamming.svg?branch=wip )] ( https://travis-ci.org/GrazerComputerClub /Raspjamming )
Original file line number Diff line number Diff line change 88while True :
99 try :
1010 res = dht .get_result_once ()
11- print ('Temp: ' + '{:.1f}' .format (res [0 ]) + '°C, Hum: ' + '{:.1f}' .format (res [1 ]))
11+ print ('Temp: ' + '{:.1f}' .format (res [0 ]) + '°C, Hum: ' + '{:.1f}' .format (res [1 ]))
1212 except Exception as e :
1313 print (e )
1414 sleep (1 )
You can’t perform that action at this time.
0 commit comments