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.
1 parent c848e33 commit 019914dCopy full SHA for 019914d
Adafruit_Feather_Sense/feather_sense_sensor_demo.py
@@ -44,5 +44,5 @@ def normalized_rms(values):
44
print("Acceleration: {:.2f} {:.2f} {:.2f} m/s^2".format(*lsm6ds33.acceleration))
45
print("Gyro: {:.2f} {:.2f} {:.2f} dps".format(*lsm6ds33.gyro))
46
print("Humidity: {:.1f} %".format(sht31d.relative_humidity))
47
- print("Sound level:", normalized_rms(samples))
+ print("Sound level:", int(normalized_rms(samples)))
48
time.sleep(0.3)
0 commit comments