vibromotor4  2.0.0.0
Functions
main.c File Reference

VibroMotor4 Click example. More...

#include "board.h"
#include "log.h"
#include "vibromotor4.h"

Functions

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

Detailed Description

VibroMotor4 Click example.

Description

This library contains API for Vibro Motor 4 Click driver. The library initializes and defines the I2C bus drivers to write and read data from registers and PWM module.

The demo application is composed of two sections :

Application Init

The initialization of I2C and PWM module, log UART, and additional pins. After the driver init and then executes a default configuration and configures Vibro Motor 4 Click boardâ„¢.

Application Task

This is an example that shows the use of a Vibro Motor 4 Click boardâ„¢. Changing duty cycle applied in order to get different vibrations. Results are being sent to the Usart Terminal where you can track their changes.

Author
Nenad Filipovic

Function Documentation

◆ application_init()

void application_init ( void  )

< Logger config object.

< Click config object.

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )