If a PIC with 8 bits input for each ports RA, RB and RC, and I only uses one of the RC (lets say RC7, denoted as RX) for serial receive, is it possible? Can anyone provide a simple serial communication for receive in C code as a starter for me to learn? Thanks.
If you use the hardware USART then it is not possible to just enable receive as turning the module on configures both TX and RX pins. If you use a software UART then you can have as many receive pins as you require. Google will find lots of example code.
If you use the hardware USART then it is not possible to just enable receive as turning the module on configures both TX and RX pins. If you use a software UART then you can have as many receive pins as you require. Google will find lots of example code.