rmstodc 2.0.0.0
|
RmstoDc Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
RmstoDc Click example.
This application convert the RMS of the input signal into a DC voltage.
The demo application is composed of two sections :
Initializes I2C interface and turns ON the device.
Reads DC output voltage calculated to mV and sends results to the serial terminal.
Note : The input voltage frequency should be in the range from 50Hz to 250kHz. Also the input voltage amplitude must be lower than 5V. In this conditions the device can convert the RMS signal, in every form, to DC signal.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |