brushless8 2.0.0.0
|
Brushless8 Click example. More...
Macros | |
#define | BRUSHLESS8_MODE BRUSHLESS8_PWM |
#define | COMM_DELAY 500 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Brushless8 Click example.
This example showcases how to initialize and use the Brushless 8 click. This application is a schowcase of controlling speed and direction of brushless motor with hall sesnor.
The demo application is composed of two sections :
Initializes the click board to appropriate settings based on selected mode. Initialization settings are sent through I2C bus and the motor itself is controlled via PWM or DAC over I2C. Modes:
This example demonstrates the use of Brushless 8 click board. Brushless 8 click communicates with the device via I2C driver in order to set adequate voltage level for connected motor. Current PWM/DAC settings being output are sent via logger. Results are being sent to the Usart Terminal where you can track their changes.
#define BRUSHLESS8_MODE BRUSHLESS8_PWM |
#define COMM_DELAY 500 |
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 | ) |