Skip to content

Espruino: Driving a stepper motor or two DC motors using the l298n h-brige

Notifications You must be signed in to change notification settings

artnode/espruino_l298n_h-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

espruino_l298n_h-bridge

Espruino: Driving two DC motors or one stepper motor using the l298n h-brige

SEE WIKI FOR WIRING

USAGE (DC-motor):

motorDC(1); //full speed

motorDC(-1); //reverse full speed

motorDC(0.5); //half speed

motorDC(0); //stop


USAGE (stepper-motor):

motorStep(100);

motorStep(-350); //350 steps reverse

About

Espruino: Driving a stepper motor or two DC motors using the l298n h-brige

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published