alangibson / steppyr Goto Github PK
View Code? Open in Web Editor NEWA stepper motor library in Python
A stepper motor library in Python
In a4988.py (lines 34-36) .self is missing in front of ms#_pin.
Also there is no logic to handle the default values for ms1_pin, ms2_pin & ms3_pin. Default values of None cause the activate method to fail.
from RaspberryPiStepperDriver import spi, tmc26x
spi_dev = spi.SPI(bus=0, device=0)
driver = tmc26x.TMC26XStepper(spi_dev, 200, 23, 18, 300)
driver.start()
Traceback (most recent call last):
File "test.py", line 11, in
driver.start()
File "/home/pi/RaspberryPiStepperDriver/src/RaspberryPiStepperDriver/tmc26x.py", line 177, in start
self.set_microsteps(self.microsteps)
File "/home/pi/RaspberryPiStepperDriver/src/RaspberryPiStepperDriver/tmc26x.py", line 408, in set_microsteps
self._profile.compute_new_speed()
AttributeError: 'int' object has no attribute 'compute_new_speed'
Had an error trying to test the library on a raspberrypi with python3.4.2,
have you used a python 3.5 to make the library? seems like the async is only valid on python 3.5>=
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.