I am using PIC16F88 with a 3.2768MHz crystal, MAX232 and my hardware UART seems not to work perfectly. The pragma CLOCK_FREQ would not compile, so I had to comment it out. The error said: Can't generate RS232 with the current parameters. But it did compile if I changed the clock freq to 4Mhz or 8Mhz or 20 MHz(whole number).
I know that the MAX232 generates correct signal levels and even transmitts the number of bits correctly, but the BAUD rate is wrong, so when I used HyperTerminal and tried to echo the character, it would return the wrong character from the one I sent. Th