Greetings,

I am using a PIC16F628A and I am trying to send serial data using SEROUT2. My code basically is
--------------------------
cmcon =7

IF (PORTA.1 = 0) then pressed

goto main

pressed:

SEROUT2...(etc)
-------------------------
I am getting a compile error stating that SEROUT2 is invalid. I think it has something to do with "cmcon =7" because when I delete it it compiles correctly (I need the cmcon line because without it the button will not work). Any help is appreciated!

-Mike