Hello,

I am using a pir sensor connected to a serial port through max232 and pic16f628A.
I need a program assembly coding for pic16f628A that give me a certain output( "N" per example ) when the sensor is on, and another output ( "F" per example ) when the sensor is off. can anyone help me ?

any help will be appreciate .