haptic2 2.0.0.0
|
Haptic2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Haptic2 Click example.
This app shows some of the functions that Haptic 2 click has.
The demo application is composed of two sections :
Initialization driver enables - PWM, PWM signal is set to 8000 HZ and to give a 0% duty cycle and start PWM module.
This is an example that demonstrates the use of the Haptic 2 Click board. In this example, we switched PWM signal back and forth from 10% duty cycle to 90% duty cycle every 500 milliseconds. 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 | ) |