Quote Originally Posted by Williamaybe View Post
so how should i go about changing the codes??
basically i nv use HSEROUT before,
so i dun really understand it.
There's no reason why you can't use SEROUT in place of HSEROUT, just configure the I/O as general purpose rather than a serial port.
And you're trying to user HSEROUT2. If you read your PBP manual, you'll see that HSEROUT2 is reserved for PICs with 2 hardware serial port modules, something that the 16F876A does NOT have.