#pragma once // Measure RMS volts and phase in degrees, using DFT transform to select a // specific frequency. // Automatically adjusts the ADC range to fit the incoming signal. float measure_vrms(int frequency, float *phase);