Hi,
You mentioned that you tested the PIC on the breadboard using LEDs. Now you have hooked up Totem Pole output stages (I presume). So my questions are :
1. If you connect LEDs only and not the Transistor Driver What Happens ?
2. Are you powering the motors from the same supply as the PIC ?
3. Do the motors require higher than 5 volts ?
4. if the above is yes, then how have you translated the level.
Get some schematic (scans from the dustbin).
Your code seems okay. At least compiles okay. Although you have not set the TRISA bits as inputs it should be automatically handled by SERIN.




Bookmarks