stepper2 2.1.0.0
|
Stepper 2 Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Stepper 2 Click Example.
This example demonstrates the use of the Stepper 2 click board by driving the motor in both directions for a desired number of steps.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Drives the motor clockwise for 64 steps and then counter-clockiwse for 32 steps with 2 seconds delay before changing the direction. All data is being logged on the USB UART where you can track the program flow.
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 | ) |