pamoja for TypeScript - v0.2.0
    Preparing search index...

    Namespace actuators

    Ergonomic facade over the generated actuator-driver binding.

    Two parts that move something: a PCA9685 driving up to sixteen servos, LEDs, or valves, and a stepper motor walked one coil pattern at a time. The Pca9685 class drives the part over an I2cBus from @pamoja/hal, and pca9685.sim.part stands one up on a simulated bus that keeps the datasheet's rules. The pwm builders make the four register bytes of one channel's setting. FourWire and StepDir drive a stepper through its pins, over any OutputLine from @pamoja/gpio.

    FourWire
    Pca9685
    StepDir
    Stepper
    I2cBus
    Pca9685Settings
    StepDirTiming
    StepperTiming
    StepDirection
    StepDrive
    pca9685
    pwm
    StepDirection
    StepDrive
    stepper
    stepCount
    stepsForDegrees
    Delay → hal.Delay
    OutputLine → gpio.OutputLine