13#include "pico/stdlib.h"
15#include "hardware/adc.h"
~MSGEQ7()
Destroy the MSGEQ7 object.
Definition msgeq7.cpp:19
uint strobe_gpio
the GPIO pin the send strobe signal to the MSGEQ7 device
Definition msgeq7.h:29
MSGEQ7(uint strobe_gpio, uint reset_gpio, uint signal_out)
Construct a new MSGEQ7 object.
Definition msgeq7.cpp:3
uint signal_out
the GPIO pin where the amplitude of the band filter is read
Definition msgeq7.h:33
uint reset_gpio
the GPIO pin the send reset signal to the MSGEQ7 device
Definition msgeq7.h:31
std::array< uint16_t, 7 > band_results
the 7-band resulting measures
Definition msgeq7.h:35
std::array< uint16_t, 7 > get_spectrum()
Get the spectrum object.
Definition msgeq7.cpp:23