Re: URGENT: 12V DC motor speed control using PIC16f877a
While C is certainly appropriate, you mentioned in your first post that you were using Assembly. That is what I use with the 8-bit chips. Microchip has many application notes using Assembly code for motor control. I assumed your motor was brushed rather than brushless. Here is a link to the Microchip site with several additional links to help you.
As for the wireless control that you mention, I suggest you visit this group (http://www.edaboard.com/group146.html). Bigdogguru has put a lot of effort into assembling resources on that subject. The ones on Manchester coding may be most applicable for your project, but that is based only on a guess as to what RF links you plan to use.
1 members found this post helpful.