How Do You Use Assembly Mplab To Control Servo Motor?
That’s a tall order. A full servo control algorithm, known as a PID Loop (among other names), is rather complex to impliment using assembly. You’d have better luck with the “C” language. Also, as anotyher answerer notes, there is much good information about this and other applications available on the Microship web site. If you’re not locked into Microchip’s PIC series yet, I would strongly recommend looking into Texas Instruments’ MSP430 series of chips. You can get a development kit for $20 (yes twenty bucks!), and that includes a USB-based in-circuit programmer/debugger, and a fully-functional C-compiler from IAR (whose only limitation is a code-size limit of 4KB, which is plenty for microcontrollers). Google TI MSP430 to find info. Unlike the PIC’s, the MSP430 is a true 16-bit processor, one clock per instruction cycle (16Mhz max speed), which needs no external crystal – and it has a 16×16 bit hardware single-cycle nultiplier, which is crucial for impolimenting servo PID loops… G