noise = Noise()
disp = ST7735.ST7735(
- port=0,
- cs=ST7735.BG_SPI_CS_FRONT,
- dc=9,
- backlight=12,
- rotation=90)
+ port=0,
+ cs=ST7735.BG_SPI_CS_FRONT,
+ dc=9,
+ backlight=12,
+ rotation=90)
disp.begin()
while True:
- low, mid, high, amp = noise.measure()
+ low, mid, high, amp = noise.get_noise_profile()
low *= 128
mid *= 128
high *= 128