brushless8 2.0.0.0
|
Brushless8 Click example. More...
Macros | |
#define | BRUSHLESS8_MODE BRUSHLESS8_PWM |
#define | COMM_DELAY 1000 |
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Brushless8 Click example.
TODO.
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.
#define BRUSHLESS8_MODE BRUSHLESS8_PWM |
#define COMM_DELAY 1000 |
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 | ) |
void main | ( | void | ) |