We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 003b6c6 + 4ab86a3 commit edd9b11Copy full SHA for edd9b11
examples/AdafruitDHT.py
@@ -48,3 +48,4 @@
48
print 'Temp={0:0.1f}*C Humidity={1:0.1f}%'.format(temperature, humidity)
49
else:
50
print 'Failed to get reading. Try again!'
51
+ sys.exit(1)
0 commit comments