I found this website.

http://www.cornerstonerobotics.org/p...rograms16F877A

A lot of info for newcomers like me.
Hope you like it.