www.keyestudio.com
After knowing its working principle, connect an LED to D3. We could
control LED by line tracking sensor.
Test Code
/*
keyestudio smart turtle robot
lesson 3.2
Line Track sensor
http://www.keyestudio.com
*/
int L_pin = 6; //pins of left line tracking sensor
int M_pin = 7; //pins of middle line tracking sensor
int R_pin = 8; //pins of right line tracking sensor
81
Need help?
Do you have a question about the Smart Little Turtle Robot V3 and is the answer not in the manual?
Questions and answers