stepper18
2.0.0.0
|
Stepper18 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Stepper18 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 speeds for 360 degrees.
The demo application is composed of two sections :
Initializes UART and I2C communication modules, and additional
pins for motor control, and set's default configuration
First it move motor clockwise for 360 degrees in medium speed. Then changes direction and moves motor for 180 degrees in slow speed, and additional 180 degrees in fast speed.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
void application_task | ( | void | ) |
void main | ( | void | ) |