EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies / }if(up==1&&down==0) //check

}if(up==1&&down==0) //check

|

Projects › Projects › Program to make a bidirectional visitor counter using IR sensor › }if(up==1&&down==0) //check

October 17, 2015 at 10:06 am #13402
ashish gaikwad
Participant

}if(up==1&&down==0) //check if down pin is pressed{test–;num=test;dig_4=num%10;num=num/10;dig_3=num%10;num=num/10;dig_2=num%10;dig_1=num/10;if(test==0)test=9999;}}}

RSS Recent Posts

  • My Advanced Realistic Humanoid Robots Project June 9, 2026
  • What is the most suitable light source for making a book light like this? June 9, 2026
  • extracting material properties from open load resonance June 9, 2026
  • Oshon Basic, programing IF statements June 9, 2026
  • How charging is done in Transformer Inverters June 9, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise