How to Arduino
View
Options
Preview new Authoring Experience
History
1
2
3
4
5
6
7
8
9
Introduction
Details
Guide Steps
Review
Quiz
This section establishes the roles of the trigPin and echoPin
pinMode (trigPin, OUTPUT);
pinMode (echoPin, INPUT);
Serial.begin(9600); //begins the loops following the set-up
« Previous
Next »
Your contributions are licensed under the open source Creative Commons license.
Next line
Previous line
Insert a new line below
Insert a new line above
Indent current line
Unindent current line
Delete current line
Navigate to next step.
Navigate to previous step.