PiSupply / Ryanteck

Resources for Ryanteck products including RTk.GPIO, Traffic HAT & Motor controller
https://uk.pi-supply.com/search?type=product&q=ryanteck
25 stars 11 forks source link

An implementation of PWM #4

Closed C0deGyver closed 1 year ago

C0deGyver commented 5 years ago

I have added a "fake" implementation of PWM using sleep. In the PWM class there is a simple DutyCycle calculator to make controlling PWM servos easier.

I changed the Software/examples/testPWM.py file to use the new PWM fuinctionality. I created an example LED test file as there was no output test file currently.

I added a drivers section in Hardware/README.md as I did not realize installing a driver was nessary (in Windows 7 at least)