Here's one that I wrote to control a stepper motor. Haven't looked at it a while. The stepper motor drives a synchro transmitter that drives an airspeed indicator. It was written for a 16F636, but that should not require many changes to move to a 16F877...not sure.
Bookmarks