Skip to content

Commit 89a5df2

Browse files
authored
Merge pull request #377 from per1234/fix-variable-name
Correct variable name reference in "Writing a Library for Arduino"
2 parents a43a4a8 + 915e81f commit 89a5df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/learn/08.contributions/03.arduino-creating-library-guide/arduino-creating-library-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void dash()
4848

4949
If you run this sketch, it will flash out the code for SOS (a distress call) on pin 13.
5050

51-
The sketch has a few different parts that we'll need to bring into our library. First, of course, we have the `dot()` and `dash()` functions that do the actual blinking. Second, there's the **ledPin** variable which the functions use to determine which pin to use. Finally, there's the call to `pinMode()` that initializes the pin as an output.
51+
The sketch has a few different parts that we'll need to bring into our library. First, of course, we have the `dot()` and `dash()` functions that do the actual blinking. Second, there's the `pin` variable which the functions use to determine which pin to use. Finally, there's the call to `pinMode()` that initializes the pin as an output.
5252

5353
Let's start turning the sketch into a library!
5454

0 commit comments

Comments
 (0)