Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
b6345fa
adding and moving around style guides
jhansson-ard Mar 3, 2022
a2f1b82
formatted library creating guide
jhansson-ard Mar 3, 2022
6b79f70
updated tags
jhansson-ard Mar 3, 2022
17bc1d6
renamed folder and updated frontmatter
jhansson-ard Mar 3, 2022
a3331b4
renamed folder
jhansson-ard Mar 3, 2022
746a4fb
moved style content
jhansson-ard Mar 3, 2022
ac77c2e
moved folders..again
jhansson-ard Mar 3, 2022
f70dd51
adding title to category
jhansson-ard Mar 3, 2022
eca5c31
adding image guide iamges
jhansson-ard Mar 3, 2022
513f892
added images and how to take screenshots
jhansson-ard Mar 3, 2022
507c076
updating hyperlinks to pages
jhansson-ard Mar 3, 2022
bce3541
reordering content and adding contributing page
jhansson-ard Mar 3, 2022
d5d0747
removed image style guide as it is not yet done
jhansson-ard Apr 25, 2022
2cf1257
Update content/learn/08.contributions/04.arduino-creating-content-gui…
jhansson-ard May 2, 2022
1436500
Update content/learn/08.contributions/04.arduino-creating-content-gui…
jhansson-ard May 2, 2022
0c9d59d
Update content/learn/08.contributions/00.arduino-writing-style-guide/…
jhansson-ard May 2, 2022
c4518b8
Update content/learn/08.contributions/04.arduino-creating-content-gui…
jhansson-ard May 2, 2022
606f9a0
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 12, 2022
6d5de4f
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 12, 2022
189a883
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 12, 2022
9240e81
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 12, 2022
429856e
Update content/learn/08.contributions/03.arduino-creating-library-gui…
jhansson-ard May 12, 2022
2b136e0
Update content/learn/08.contributions/03.arduino-creating-library-gui…
jhansson-ard May 12, 2022
f5eed32
Update content/learn/08.contributions/04.arduino-creating-content-gui…
jhansson-ard May 12, 2022
f77a1f2
Update content/learn/08.contributions/03.arduino-creating-library-gui…
jhansson-ard May 12, 2022
305b57f
Update content/learn/08.contributions/00.arduino-writing-style-guide/…
jhansson-ard May 12, 2022
259888c
Update content/learn/08.contributions/04.arduino-creating-content-gui…
jhansson-ard May 12, 2022
e6aeace
Update content/learn/08.contributions/00.arduino-writing-style-guide/…
jhansson-ard May 12, 2022
d43e724
Update content/learn/08.contributions/04.arduino-creating-content-gui…
jhansson-ard May 13, 2022
240c396
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 18, 2022
0974342
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 18, 2022
f285408
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 18, 2022
a297aa5
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 18, 2022
a9a1255
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 18, 2022
a4c39ff
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 18, 2022
2a43c12
Update content/learn/08.contributions/03.arduino-creating-library-gui…
jhansson-ard May 18, 2022
6fa509f
Update content/learn/08.contributions/03.arduino-creating-library-gui…
jhansson-ard May 18, 2022
90311c7
Update content/learn/08.contributions/03.arduino-creating-library-gui…
jhansson-ard May 18, 2022
80dfeaf
Update content/learn/08.contributions/01.arduino-library-style-guide/…
jhansson-ard May 20, 2022
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update content/learn/08.contributions/03.arduino-creating-library-gui…
…de/arduino-creating-library-guide.md Co-authored-by: per1234 <accounts@perglass.com>
  • Loading branch information
jhansson-ard and per1234 authored May 18, 2022
commit 6fa509f4f14097962dbeb129e3f84230a0618d0a
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ When this line gets executed (which actually happens even before the `setup()` f

Notice that our `setup()` is now empty; that's because the call to `pinMode()` happens inside the library (when the instance is constructed).

Finally, to call the `dot()` and `dash()` functions, we need to prefix them with **morse**. - the name of the instance we want to use. We could have multiple instances of the Morse class, each on their own pin stored in the _pin private variable of that instance. By calling a function on a particular instance, we specify which instance's variables should be used during that call to a function. That is, if we had both:
Finally, to call the `dot()` and `dash()` functions, we need to prefix them with **morse**. - the name of the instance we want to use. We could have multiple instances of the `Morse` class, each on their own pin stored in the _pin private variable of that instance. By calling a function on a particular instance, we specify which instance's variables should be used during that call to a function. That is, if we had both:

```arduino
Morse morse(13);
Expand Down