im using USART module in pic16f877a to transfer data to the serial port of my pc . first do i have to use max232 to make the preparation for the PC port or not,
second i used value d'31' in the BRGH register to set baud-rate 9600 was it wrong?
The serial port of a PC does use RS-232 levels so I would say that you need the transceiver. The value in the BRGH register depends on the frequency of operation of the PIC, so the value you used may or may not be correct. What does the datasheet say?