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
|
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. |
|||
|