Python Forum
Arduino Code to Python Code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arduino Code to Python Code
#4
This may prove useful:

your c code uses the DRV8825 driver which is available from pololu.

links:
https://www.ti.com/lit/ds/symlink/drv8825.pdf and https://www.pololu.com/product/2133
https://www.pololu.com/file/0J603/drv882...iagram.pdf

software (no python though) https://github.com/pololu/high-power-ste...er-arduino
Adafruit has a driver that they make which uses either arduino C, or CircuitPython it is their own design which used PWM to control the stepper, however comparing the C code vs Python may be helpful. More here: https://www.mouser.com/new/adafruit/adaf...ing-addon/
The pin numbers will be different, but names should be the same
Reply


Messages In This Thread
Arduino Code to Python Code - by boogeyman1 - Dec-29-2021, 03:41 AM
RE: Arduino Code to Python Code - by Larz60+ - Dec-29-2021, 12:15 PM
RE: Arduino Code to Python Code - by joe_momma - Jan-07-2022, 12:50 AM
RE: Arduino Code to Python Code - by Larz60+ - Jan-07-2022, 11:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Issue with GUI screen switching in Python QT5 code greenelephant 1 398 Apr-04-2024, 09:58 PM
Last Post: deanhystad
  Convert the typical MATLAB GUI creator code to Python Army 1 2,710 Jul-05-2021, 03:51 PM
Last Post: Larz60+
  [PyGUI] help code python QT Designer yan_mhb 0 1,969 Aug-12-2020, 09:32 AM
Last Post: yan_mhb
  [Tkinter] Python code issue tedarencn 2 2,018 Apr-15-2020, 07:19 PM
Last Post: tedarencn
  [PyQt] how to transform pyqt4 code to pyqt5 code atlass218 4 4,970 Jan-20-2020, 05:45 PM
Last Post: Axel_Erfurt
  Help with code Kivy/Python Couzer 1 3,008 Nov-13-2018, 02:24 AM
Last Post: joe_momma
  [Tkinter] how do I enter code into python matelot 17 10,665 Feb-13-2018, 11:14 PM
Last Post: matelot

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020