Perhaps MCS won't let you do that?
It will let you do that - I do it all the time but the registers, etc., must be correctly set.
I thought that most of the parts defaulted to inputs on PORTA and not ADC's?
Not this one, PORTA defaults to mostly Analog but this does not explain your PortB not working
I'm going to try and see if not doing a "new file" is it
It's not it but good idea - just make the thing blink PORTB.0 and then add more stuff. If that does not work, try some of the other things noted earlier in this thread.

(sorry about the flu - yuck!)

Good Luck,
Paul Borgmeier
Salt Lake City, Utah
USA