vibromotor4 2.0.0.0
|
VibroMotor4 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
VibroMotor4 Click example.
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 :
The initialization of I2C and PWM module, log UART, and additional pins. After successful driver init, executes a default configuration and configures Vibro Motor 4 Click boardâ„¢.
This is an example that shows the use of a Vibro Motor 4 Click boardâ„¢. Changing duty cycle results in different vibrations. Results are being sent to the Usart Terminal where you can track their changes.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |