2020-03-15, 08:05 PM
Hello Sean,
Thank you for your response and your suggestion.
But before I embark on this process, I need to go back to school and find out a little more about the programming of the Arduino port registers (which I never had to do) to understand a little your code better. I'm used to programming with the Arduino language (analogRead, analogWrite etc ...) and it works correctly to drive a motor in a simple way. I am perfectly aware that your way of using the Port registers is much more subtle and surely faster, but remains for a neophyte like me a little mysterious.
So I'm going to move towards understanding your way of doing things, hoping to find what doesn't work.
Very cordially and with all my thanks for your help.
Thierry
PS: Just tell me if my diagram seems correct to you
Thank you for your response and your suggestion.
But before I embark on this process, I need to go back to school and find out a little more about the programming of the Arduino port registers (which I never had to do) to understand a little your code better. I'm used to programming with the Arduino language (analogRead, analogWrite etc ...) and it works correctly to drive a motor in a simple way. I am perfectly aware that your way of using the Port registers is much more subtle and surely faster, but remains for a neophyte like me a little mysterious.
So I'm going to move towards understanding your way of doing things, hoping to find what doesn't work.
Very cordially and with all my thanks for your help.
Thierry
PS: Just tell me if my diagram seems correct to you