In this repository you will find some basic code for controlling typical PWM motors with popular embedded hardware. Initially it will be implemented for the Raspberry Pi to drive motors connected to an L239D Half-H driver. Hopefully the design of the code will make it easy to also support other devices.
The main motivation for this project is to control the LEGO Power Functions DC motor and servo motor.
Below are some useful links that helped me get everything setup: