Skip to content

Arduino library to control the BTS7960 Dual H-Bridge, that can drive DC-Motor up to 43A

License

Notifications You must be signed in to change notification settings

nuclearcodecat/Arduino-BTS7960

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BTS7960Library

Arduino library to control the BTS7960 Dual H-Bridge, that can drive DC-Motor up to 43A

Usage

Then create an instance of the BTS7960 with four pins constructor

BTS7960 motor1(L_EN, R_EN, L_PWM, R_PWM);

Or three pins constructor, in case you use the same pin for both left and right enable pins.

BTS7960 motor1(EN, L_PWM, R_PWM);

Methods

Method Params Description
Enable none Enable the motor driver
Disable none Disable the motor driver (free rotation)
Stop none Full stop (brake)
TurnLeft uint8_t pwm Rotate forward at PWM speed
TurnRight uint8_t pwm Rotate backward at PWM speed

About

Arduino library to control the BTS7960 Dual H-Bridge, that can drive DC-Motor up to 43A

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%