I have a PIC16F1827 and I'm trying to set the UART to 9600 baud. I currently have
SPBRG = 0b00000101;
I'm using the default clock speed. I would use an oscilloscope but I don't have one. If anyone knows the correct setting for the SPBRG register let me know. BTW, I used the code example for UART and set it to 9600 baud and it is also not the correct baud rate.
SPBRG = 0b00000101;
I'm using the default clock speed. I would use an oscilloscope but I don't have one. If anyone knows the correct setting for the SPBRG register let me know. BTW, I used the code example for UART and set it to 9600 baud and it is also not the correct baud rate.
Last edited: