Skip to content

Commit

Permalink
Merge pull request #42 from Chr157i4n/dev
Browse files Browse the repository at this point in the history
version 0.4.1
  • Loading branch information
Chr157i4n committed Nov 26, 2023
2 parents 2f28f12 + e19c01f commit 85a0673
Show file tree
Hide file tree
Showing 23 changed files with 424 additions and 499 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
pip install RPi.GPIO
pip install Mock.GPIO
pip install mock
pip install bitstring
pip install pyserial
- name: Analysing the code with pylint
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
pip install RPi.GPIO
pip install Mock.GPIO
pip install mock
pip install bitstring
pip install pyserial
- name: Run unittests
run: |
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## version 0.4.1
- removed dependency enum34
- removed dependency bitstring
- changed min python version to 3.6
- changed docstring format to google

## version 0.4
- split code into different files
- added logger class
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ git clone https://github.com/Chr157i4n/TMC2209_Raspberry_Pi
```
- install the required modules
```
pip3 install RPi.GPIO enum34 bitstring pyserial
pip3 install RPi.GPIO pyserial
```
- enable the serial port in
```
Expand Down
1 change: 0 additions & 1 deletion demo/debug_script_01_uart_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
#-----------------------------------------------------------------------
# deinitiate the TMC_2209 class
#-----------------------------------------------------------------------
tmc.deinit()
del tmc

print("---")
Expand Down
1 change: 0 additions & 1 deletion demo/demo_script_01_uart_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
#-----------------------------------------------------------------------
# deinitiate the TMC_2209 class
#-----------------------------------------------------------------------
tmc.deinit()
del tmc

print("---")
Expand Down
1 change: 0 additions & 1 deletion demo/demo_script_02_pin_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
#-----------------------------------------------------------------------
# deinitiate the TMC_2209 class
#-----------------------------------------------------------------------
tmc.deinit()
del tmc

print("---")
Expand Down
1 change: 0 additions & 1 deletion demo/demo_script_03_basic_movement.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@
#-----------------------------------------------------------------------
# deinitiate the TMC_2209 class
#-----------------------------------------------------------------------
tmc.deinit()
del tmc

print("---")
Expand Down
1 change: 0 additions & 1 deletion demo/demo_script_04_stallguard.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def my_callback():
#-----------------------------------------------------------------------
# deinitiate the TMC_2209 class
#-----------------------------------------------------------------------
tmc.deinit()
del tmc

print("---")
Expand Down
1 change: 0 additions & 1 deletion demo/demo_script_05_vactual.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@
#-----------------------------------------------------------------------
# deinitiate the TMC_2209 class
#-----------------------------------------------------------------------
tmc.deinit()
del tmc

print("---")
Expand Down
2 changes: 0 additions & 2 deletions demo/demo_script_06_multiple_drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
#-----------------------------------------------------------------------
tmc1.set_motor_enabled(False)
tmc2.set_motor_enabled(False)
tmc1.deinit()
tmc2.deinit()
del tmc1
del tmc2

Expand Down
1 change: 0 additions & 1 deletion demo/demo_script_07_threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
# deinitiate the TMC_2209 class
#-----------------------------------------------------------------------
tmc1.set_motor_enabled(False)
tmc1.deinit()
del tmc1


Expand Down
6 changes: 2 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = TMC_2209_Raspberry_Pi
version = 0.4
version = 0.4.1
author = Christian Köhlke
author_email = christian@koehlke.de
description = this is a Python libary to drive a stepper motor with a Trinamic TMC2209 stepper driver and a Raspberry Pi
Expand All @@ -22,11 +22,9 @@ classifiers =
package_dir =
= src
packages = find:
python_requires = >=3.0.0
python_requires = >=3.6
install_requires =
RPi.GPIO
enum34
bitstring
pyserial

[options.packages.find]
Expand Down
Loading

0 comments on commit 85a0673

Please sign in to comment.