This is a great article for anyone starting out in the world of uControllers. It introduces a few very simple methods for controlling a small motor using a any type of microcontroller. Like all things motor control is easy at first but then very complex in the long haul. Take a look!