EasyManua.ls Logo

SunFounder 3in1 Kit - One Touch Start

Default Icon
351 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder 3in1 Kit
When this function is called, have the LED repeat the toggle from on-off three times so that you see
the LED blink 3 times.
void blinkLED() {
for (int i = 0; i < 3; i++) {
digitalWrite(ledPin, HIGH);
delay(50);
digitalWrite(ledPin, LOW);
delay(50);
}
}
5.11 10. One Touch Start
In this project, we have integrated the previous projects - line following, following, obstacle avoidance, self-driving, etc.
together. They can be switched by buttons on the remote control, so you can start the car and experience all functions
at once.
Wiring
Code
Note:
Open the 10.one_touch_start.ino file under the path of 3in1-kit\car_project\10.one_touch_start.
Or copy this code into Arduino IDE.
5.11. 10. One Touch Start 261

Related product manuals