pwm  2.0.0.0
Functions
main.c File Reference

PWM Click example. More...

#include "board.h"
#include "log.h"
#include "pwm.h"

Functions

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

Detailed Description

PWM Click example.

Description

This is an example that shows the capability of PWM click.

The demo application is composed of two sections :

Application Init

Initalizes I2C driver, enables output, configures device, sets prescaling, configures output and makes an initial log.

Application Task

Changes the duty cycle of all channels every 10 seconds. All data are being logged on USB UART where you can track their changes.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )