Skip to content

Commit

Permalink
bumped version to 1.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pkerspe committed Nov 7, 2021
1 parent ea8edff commit c9560fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This library is used to control one or more stepper motors with a ESP 32 module.
## Features

The library provides the following features:
- generating pulses for a connected stepper driver with a dir and step input
- generating pulses for a connected stepper driver with a direction and step input
- connection of emergency switch to stop all motion immendiately
- connection of limit switches / homing switches
- blocking and non blocking function calls possible
Expand Down Expand Up @@ -40,12 +40,12 @@ Decision matrix:
| --- | --- |
| You are using Wifi / Bluetooth or BLE in your project | if you send/receive data while the motor is moving: start the service on core 1<br/>if you only send / receive data while the motor is not moving: you might get away with starting the service on core 0, if you experience jitter, start it on core 1 |
| You are NOT using Wifi / Bluetooth or BLE in your project | start the service on core 0 |
| You have a lot of code in your loop() function that takes a lot of time for each loop execution | if you are not using wireless communication: start the service on core 0<br/>if you are using wireless communication, go to line one of this decision matrix, if this does not help you will most likely need to optimize your loop() function execution time or move to a event/interrupt based design |
| You have a lot of code in your loop() function that takes a lot of time for each loop execution | if you are not using wireless communication: start the service on core 0<br/>if you are using wireless communication, go to line one of this decision matrix, if this does not help you will most likely need to optimize your loop() function execution time or move to a event/interrupt based design. You can also try to increase the task priorty of the ESP Flexy Stepper task in ESP_FlexyStepper.cpp in the xTaskCreatePinnedToCore(...) function call |

For more details on the topic you can also have a look at the discussion in issue #4: https://github.com/pkerspe/ESP-FlexyStepper/issues/4


## Example
## Example Code

The following is an example of how to use the library as a service running in the "background" as a separate Task on the ESP32:

Expand Down Expand Up @@ -96,7 +96,7 @@ void loop()
}
// Notice that you can now do whatever you want in the loop function without the need to call processMovement().
// also you do not have to care if your loop processing times are too long.
// also you do not have to care if your loop processing times are too long (you might experience some jitter though if you do).
}
```

Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "git",
"url": "https://github.com/pkerspe/ESP-FlexyStepper.git"
},
"version": "1.4.4",
"version": "1.4.5",
"license": "MIT",
"frameworks": "arduino",
"platforms": [
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ESP-FlexyStepper
version=1.4.4
version=1.4.5
author=Paul Kerspe
maintainer=Paul Kerspe
sentence=This library is used to control one or more stepper motors from an ESP32 device
Expand Down

0 comments on commit c9560fc

Please sign in to comment.