brushless4
2.0.0.0
|
Brushless 4 Click example. More...
Functions | |
void | set_speed (uint16_t speed) |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Brushless 4 Click example.
This click has many features for driving a wide range of small to medium BLDC motors. It provides the rotor position digital output, via the FG pin, routed to the mikroBUS INT pin.
The demo application is composed of two sections :
Initializes the GPIO driver and configures the PWM peripheral for controlling the speed of the motor.
Increases and decreases the speed of the motor demonstrating the speed controll.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void main | ( | void | ) |
void set_speed | ( | uint16_t | speed | ) |