That's a good spot. The config part (setting up ports etc), was a straight lift (cut/paste) from a non-interrupt based HSERIN test program that I have which works fine. You are quite right that on a 16f690 PIC, the RX pin is RB5
Fortunately, I am actually connecting to RB5 for my RX (& like I say, I have a program where the whole HSERIN/HSEROUT kit & kaboodle works with that same config). I guess this is where I 'got lucky' & the PIC has defaulted RB5 to being an input? So alas, I don't think that's my problem
I actually think the port setup, registers etc are ok (on account it being a straight cut/paste from an HSERIN/HSEROUT worker) ...what I think this is likely to be is a lack of understanding what I should be matching against? (ie if mybyte="1" then what does a key press "1" get stored in a byte as etc)
Bookmarks