hztov  2.0.0.0
Functions
main.c File Reference

HzToV Click example. More...

#include "board.h"
#include "log.h"
#include "hztov.h"

Functions

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

Detailed Description

HzToV Click example.

Description

This example demonstrates the use of Hz to V click board.

The demo application is composed of two sections :

Application Init

Initializes the driver and enables the click board.

Application Task

Sets the PWM frequency then reads the voltage from VO pin and logs all data on USB UART.

Note
In order to set PWM frequency down to 1 kHz, the user will probably need to lower the main MCU clock frequency. The output voltage may vary, depending on the offset potentiometer setting on the click.
Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )