We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2020-05-18
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Brushed
Downloaded: 2461 times
Not followed.
License: MIT license
DC Motor 6 Click is a PWM chopper type brushed DC motor driver, labeled as TB67H451FNG. This IC includes one channel of motor output block, using a wide range of supply voltages, while delivering reasonably high current to the connected DC motors.
Do you want to subscribe in order to receive notifications regarding "DC Motor 6 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "DC Motor 6 click" changes.
Do you want to report abuse regarding "DC Motor 6 click".
Library Description
The library contains functions for working with a DC Motor 6 click.
Key functions:
void dcmotor6_set_direction( uint8_t dir )
- Set motor DirectionExamples description
The application is composed of three sections :
void application_task ( )
{
dcmotor6_set_direction( DCMOTOR6_MOTOR_DIR_CCW );
Delay_ms( 2000 );
dcmotor6_set_direction( DCMOTOR6_MOTOR_STOP );
Delay_ms( 2000 );
dcmotor6_set_direction( DCMOTOR6_MOTOR_DIR_CW );
Delay_ms( 2000 );
dcmotor6_set_direction( DCMOTOR6_MOTOR_STOP );
Delay_ms( 2000 );
}
Other mikroE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.