Quote Originally Posted by PlantBob View Post
I have an external 20mhz oscillator. Can you tell me what I need to do to use SEOUT2 and SERIN2 on pins PORTB.5 and PORTB.4?
Hi Bob,

Are you able to blink an led with the chip? It may sound stupid, but that eliminates a lot of other issues.

With the 20 mhz external OSC and the default configs, your chip will run at 48 mhz. So if you are using the default configs, you will have to define your OSC. You might also try Darrel's All Digital. It takes care of some of the analog settings that can throw us for a loop. It is located here: http://www.picbasic.co.uk/forum/cont...54-All-Digital
Im away from my PBP right now, but you should be able to use the PBP serout example from the manual.

Let us know if you get stuck.