brushless9 2.0.0.0
|
Brushlesss9 Click example. More...
Macros | |
#define | DUTY_CHANGE_DELAY 2000 |
#define | BREAK_DELAY 5000 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Brushlesss9 Click example.
This application is a showcase of controlling speed and direction of brushless motor with hall sensor.
The demo application is composed of two sections :
Initialization of LOG, PWM module and additional pins for controlling motor.
In span of 2 seconds changes duty cycle from 0 to 100% and then back to 0, at the end changes direction of motor.
#define BREAK_DELAY 5000 |
#define DUTY_CHANGE_DELAY 2000 |
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 | ) |