haptic4 2.1.0.0
|
Haptic 4 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Haptic 4 Click example.
This example demonstrates the use of Haptic 4 click board by controlling the attached motor vibration level.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Changes the motor vibration level every 2 seconds between MAX and MIN, and displays the currently set level on the USB UART.
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 | ) |