Microcontroller › PIC › PIC USB or RS232 Interface › you can refer uart tutorial
July 6, 2016 at 12:28 pm #14048
Prabakaran P M
you can refer uart tutorial of the PIC16F4550 in this website to sent the data to computer…. For detecting the sensors checking the status of the input pin inside a while loop or you can also use interrupt to detect.