stspin233 2.0.0.0
|
Stspin233 Click example. More...
Macros | |
#define | PROCESS_COUNTER 10 |
#define | PROCESS_RX_BUFFER_SIZE 500 |
#define | PROCESS_PARSER_BUFFER_SIZE 500 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Stspin233 Click example.
This application is motor driver.
The demo application is composed of two sections :
Initializes driver and configures the click board.
This example demonstrates the use of STSPIN233 Click board, by running the motor clockwise and counter clockwise. All results will be displayed on USB UART.
note: For all other commands that you can use to control your engine, see the firmware documentation. We used an 8 pole motor for the test.
#define PROCESS_COUNTER 10 |
#define PROCESS_PARSER_BUFFER_SIZE 500 |
#define PROCESS_RX_BUFFER_SIZE 500 |
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |