Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

PIC18F4550, how to delay/hold value for IR sensor?

Status
Not open for further replies.

Ragens

Member
Hi,

how to delay/hold the condition of IR sensor?

Condition 1 = no object
Condition 0 = Object detected

I already try with delay in If(IR==0) but it not work.
Basically how to hold the condition for IR sensor for few second then it recheck?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top