Instructions
IDUINO for maker’s life
22 www.openplatform.cc
{
sensorValue = analogRead(sensorPin);
digitalWrite(ledPin, HIGH);
delay(sensorValue);
digitalWrite(ledPin, LOW);
delay(sensorValue);
Serial.println(sensorValue, DEC);
val=digitalRead(buttonpin);
if(val==HIGH)
{
digitalWrite(Led,HIGH);
}
else
{
digitalWrite(Led,LOW);
}
}
********Code End********
Module5: Line tracking module
1.Introduction
With this module your DIY car or robot can walk only along one line way. When the detector
move from white to black, it could output TTL signal, So if you draw one black line between