Skip to content

Take control over the EasyDriver stepperdriver from the RaspberryPi

Notifications You must be signed in to change notification settings

rfverbruggen/easydriverpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

EasyDriverPy

Take control over the EasyDriver stepperdriver from the RaspberryPi

Usage:

import easydriver as ed

# set direction booleans:
#    cw - clockwise
#    cww - counterclockwise
cw = True
ccw = False

# initialize easyDriver
#    pin_step - GPIO pin 23
#    pin_dir - GPIO pin 24
easyDriver = ed(23, 24)

# set direction
easyDriver.dir(cw)

# make 100 steps
for i in range(0, 100):
  easyDriver.step()

# clean up
easyDriver.finish()

About

Take control over the EasyDriver stepperdriver from the RaspberryPi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages