rmstodc  2.0.0.0
Functions
main.c File Reference

RmstoDc Click example. More...

#include "board.h"
#include "log.h"
#include "rmstodc.h"

Functions

void application_init (void)
 
void application_task (void)
 
void main (void)
 

Detailed Description

RmstoDc Click example.

Description

This application convert the RMS of the input signal into a DC voltage.

The demo application is composed of two sections :

Application Init

Initializes I2C interface and turns ON the device.

Application Task

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.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )