lipoja / AMSpi

Python class for controlling Arduino Motor Shield L293D from Raspberry Pi (using RPi.GPIO)
MIT License
33 stars 18 forks source link

added PWM ability #2

Closed neumann-d closed 7 years ago

neumann-d commented 7 years ago

uses RPi.GPIO.PWM:

lipoja commented 7 years ago

Hi, thank you for adding PWM support. I will test it and then I will merge it. Could you please also modify example file to show others how to use it. Thank you.

neumann-d commented 7 years ago

Hi @lipoja , I added few lines to the example code.

lipoja commented 7 years ago

Thank you for the code, I did some modification of the code. The PWM it's working. Just find the right frequency to run the motors :]