stepper15 2.0.0.0
|
Stepper15 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Stepper15 Click example.
This library contains API for the Stepper 15 Click driver. The library contains drivers for work control of the Stepper Motor.
The demo application is composed of two sections :
Initializes I2C and SPI driver and set default configuration, enable the device and enable outputs mode.
The application task represents an example that demonstrates the use of the Stepper 15 Click boardâ„¢ with which the user can sequentially move the motor. The first part of the sequence executes the clockwise/counterclockwise motor movement for an angle of 90-degrees with a step speed of 85/100%, all the way to the last sequence of the same movement routine of 360-degree angle with a step speed of 85/100%. Results are sent to the USART Terminal, where you can track their changes.
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 | ) |