i supposed that the ir reciver sends logic 1 when it has no ir coming in and 0 when ir coming in so on that i made a code that works about that in micro 16f628a but the proplem it doesnt work
the led will light up when it has logic zero
but the proplem is that the led is never on
when i remove the wire that attached to the reciver the led is finally on so i think that the reciver doesnt work on the logic 1 and logic zero
so i want to ask WHAT SHOULD I DO?!?! if it doesnt work on logic 1 and zero it might be works on something like photoresistor it just make the power lower but its there?
should i use the adc?
or should i connect it with a transistor? O.o help needed

thnQs for ur time and sorry for the stupied english langauge but the arabic isnt setupped n my computer so please answer in arabic!