dcmotor7  2.0.0.0
Functions
main.c File Reference

DcMotor7 Click example. More...

#include "board.h"
#include "log.h"
#include "dcmotor7.h"

Functions

void application_init (void)
 
void application_task (void)
 
void main (void)
 

Detailed Description

DcMotor7 Click example.

Description

This application is a dual brushed DC motor driving.

The demo application is composed of two sections :

Application Init

Initialization driver init, enabled all output port, sets H-Bridge operation mode and Motor Digital tblk

Application Task

Set the motor A and the motor B to rotate clockwise and in the Counte clockwise direction, and between the change of direction, the motor stops the motor.

note: VM input - 10 V (min) to 47 V (max)

Author
MikroE Team

Function Documentation

◆ application_init()

void application_init ( void  )

◆ application_task()

void application_task ( void  )

◆ main()

void main ( void  )