I am a beginner.I can't understand how can i get the reading of IR sensors(6) in a function.I use a home-made sensor.so,i have no built in library.
Sign up
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
closed as unclear what you're asking by Gerben, Mattia, Madivad, Avamander♦ Apr 25 at 12:45Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question. |
|||||||||||||
|
Are you saying you are a beginner and have scratch built 6 IR sensors? If so I take my hat off to you. We need details on the sensors. Do the sensors give a digital signal or an analogue signal? I'm going to guess digital and they go high when they detect something. You need to connect the detection signal line to a digital port on the Arduino. |
|||
|