0.0.12 • Published 2 years ago

pi-stepper-motor-controller v0.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

pi-stepper-motor-controller

Description

Low-level Raspberry Pi Stepper Motor Controller. Low-level in a sense that the StepperMotorController class that makes up this project have one purpose, that is to turn a motor forward or reverse given number of steps and half step delay, nothing more.

Example

Suppose we have a stepper motor controller and the direction pin is in 13, step pin is 16, and enable pin is in 17. To run it 1000 steps, where each half step is delayed by 1ms:

import { StepperMotorController } from './StepperMotorController';

const motorController = new StepperMotorController(13, 16, 17);
motorController.run(1000, 1);
0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago