gin66

Results 134 comments of gin66

I haven’t tried, but I was able to connect the mcpwm output and the pcnt input to the same processor pin/pad. So perhaps the pin interrupt can be added, too...

Difficult to support you on this topic. Just from the one liner, the moveTo should be after speed/acceleration setting. Which „lines of code“ do you assume to be skipped by...

and please check the return values from moveTo, setAcceleration and setSpeed. This may help to narrow down on possible problems.

`startHoming() `is not there. Anyway, the `checkHoming()` will not work as expected. The scheme in that function could be - among others - like this: 1. check if the switch...

Just have revisited your code. Your `stopMove()`, `serCurrentPosition()` should be ok, if you call it only once per motor.

and perhaps check the lines to your switches, so that you do not have electrical noise on the wires preventing reliable detection of high or low by the esp32

Hi. perhaps you start with a different approach: solve the problem with one motor without any load. As soon as this works, extend to three motors. If this is successful...

good proposal. PR‘s are welcome

Good observation and the behavior like that is by design. As the doc states: > setLinearAcceleration expects as parameter the number of steps, where the acceleration is increased linearly from...