Fixed! Thanks everyone for the troubleshooting help... I thought I made a really careless mistake (which I did), but that wasn't the issue. After I got my C code the way I wanted it, I created a "new" project and imported the C file... Well, I forgot to change the crystal frequency from 8 to 4 MHz (what I had on the MElabs board). I changed it, but it still didn't work. The change that made the circuit function was disabling MCLR (as Mike suggested). I've been reading a lot on PICs and have several books. I was trying to learn assembly (from Microcontrol'n books), but it's been a rough go... One suggested never using the supplied include files, rather create your own header where you're forced to think about the config directive.... Would'a been best for me here! When I got the EP4 board, I tried the C compiler and even though it's been more years that I'd care to admit, in grad school I was fairly adept in C. Anyway, in MikroC, I hit the default settings for the project (which didn't have MCLR set to off)... Now I know to be more careful!!! Thanks everyone for your rapid and thought provoking suggestions. I always go crazy buying and reading books and the internet before I settle down to work on something (like microcontrollers). Inevitably, it's actually doing that makes you learn (the hard way?)!!!
Tom