cosa-roboteq-sdc21xx

1.0.2 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i cosa-roboteq-sdc21xx

      Weekly Downloads

      3

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      5.47 kB

      Total Files

      12

      Last publish

      Collaborators

      • dhillondeep
      • wio-admin