Pin 15 may be PortC.4 to the PIC...
Pin 15 isn't PortC.4 to PBP (READ the PBP manual)
Internal oscillator - yep, sure could be the problem. But generally, 1200 baud works even when the osc is out in the weeds a bit.
AND...your SERIN2 line is giving you 100ms to send and fill a DEC variable. Can you type that fast?
Get rid of that motor stuff, plug in an LCD and watch what your inputs are doing, hook up some LEDs, do some troubleshooting. Don't just assume that anything works right.
Bookmarks