vibromotor 2.0.0.0
|
VibroMotor Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
VibroMotor Click example.
This application contorl the speed of vibro motor.
The demo application is composed of two sections :
Initializes GPIO driver and PWM. Configures PWM to 5kHz frequency, calculates maximum duty ratio and starts PWM with duty ratio value 0.
Allows user to enter desired command to control Vibro Motor Click board.
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 | ) |