stepper11 2.0.0.0
|
Stepper11 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Stepper11 Click example.
This example showcases the device's ability to control the motor. It initializes the device for control and moves the motor in two directions in a variety of resolutions for 360 degrees.
The demo application is composed of two sections :
Initialization of communication modules(I2C, UART) and additional pins for control of device. Then sets default configuration that enables device for motor control.
Firstly it rotates motor in CW direction for 360 degrees in FULL step resolution. Then changes direction in CCW and rotates backwards 360 degrees in 2 different step resolutions (Quarter and 1/16) in 180 degrees each.
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 | ) |