1.0.2 • Published 6 years ago

cosa-roboteq-sdc21xx v1.0.2

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

Roboteq SDC21XX Controllers

This is a wio package for Cosa that provides ability to control Roboteq SDC21XX Brushless DC motor controllers.

Usage

Datasheet can be found from this series of controllers at this link.

This package uses PWM signal to control the controller, so make sure you set the pin you are connecting to as a PWM pin. This can be done through Roboteq+ PC Utility.

Define a controller wlp::SDC21XX sdc(Board::PWM1). You have to provide it PWM pin.

change speed using:

sdc.set_speed(0);
sdc.set_speed(37);
sdc.set_speed(100);

Install

wio install cosa-roboteq-sdc21xx
1.0.2

6 years ago

1.0.0

6 years ago

0.0.1-security

6 years ago