brushless25 2.1.0.0
|
Brushless 25 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | sw_data = 0 |
uint8_t | speed_val = 3 |
Brushless 25 Click example.
Application example shows the device's capability of controlling the brushless motor speed and state of the driver.
The demo application is composed of two sections :
Initializes the driver, sets the device into slow start mode and sets the speed of the motor to 30%.
This example is taking track of the state of the driver and motor, as well as its voltage and speed which is changing from 30% to 100%, and logging it onto the USB UART terminal.
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 | ) |
uint8_t speed_val = 3 |
uint8_t sw_data = 0 |