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 / Hi Aquib, “if( leftVal >

Hi Aquib, “if( leftVal >

|

Microcontroller › Arduino › Line follower robot › Hi Aquib, “if( leftVal >

October 21, 2013 at 5:11 am #10540
AJISH ALFRED
Participant

Hi Aquib,

 

“if( leftVal > sensorThreshold || rightVal > sensorThreshold)”

 

You are checking for a high threshold, right?

Why dont you set a low threshold value, which is graeter than zero and check for it?

 

“if( leftVal < sensorThreshold || rightVal < sensorThreshold)”

RSS Recent Posts

  • Unable To Get Advertised Op-Amp Slew Rate January 18, 2026
  • Sine wave distortion January 18, 2026
  • Silicon insulated wire January 18, 2026
  • Wien bridge oscillator January 18, 2026
  • Flip Flop for My Mirrors January 18, 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