pwm2 2.0.0.0
main.c File Reference

Pwm2 Click example. More...

#include "board.h"
#include "pwm2.h"

Functions

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

Detailed Description

Pwm2 Click example.

Description

This application send the PWM signal in one or more outputs.

The demo application is composed of two sections :

Application Init

Configures the click board and sets all PWM channels on the click board to 50% duty cycle with the phase shift enabled.

Application Task

The first 10 PWM channels of PWM2 Click board are switched back and forth from 25% duty cycle to 75% duty cycle every 10 seconds.

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void )

◆ application_task()

void application_task ( void )

◆ main()

int main ( void )