Skip to content

Commit b0e6e9d

Browse files
Update grove-digital-inputs.adoc
Asiidoc syntax suggestion
1 parent 6683777 commit b0e6e9d

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed
Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,31 @@
11
= Grove Digital Inputs
22
:page-toclevels: 1
33

4-
.Overview
5-
:page-toclevels: 2
6-
****
4+
== Overview
5+
76
This example uses the grove button module but the source code is also applicable for other similar Grove Modules.
87

98
The GPIO Pins used are [D16,D17],[D18,D19],[D20,D21]
109

1110
image::GroveDigitalConnectionsPico.png[]
1211

1312

14-
****
13+
== Hardware Details
1514

16-
.Hardware Details
17-
:page-toclevels: 2
18-
****
1915
https://wiki.seeedstudio.com/Grove-Dual-Button/#features[Grove Dual Button]
20-
****
2116

22-
.Demo Video
23-
:page-toclevels: 2
24-
****
17+
18+
== Demo Video
19+
20+
2521
Here is a video that shows the set-up and running of the Dual Button Digital Inputs
2622

2723
video::ViA9pmmxI2Q[youtube]
2824

29-
****
3025

31-
.Example Code
32-
:page-toclevels: 2
33-
****
34-
Navigate to >>Scratchpad>>Grove>>Digital Inputs>>Grove Digital In.vi
26+
== Example Code
27+
28+
Navigate to menu:Scratchpad[Grove > Digital Inputs > Grove Digital In.vi]
3529

3630
image::GroveDigitalInProject.png[]
3731

@@ -46,4 +40,3 @@ image::GroveDigitalInFP.png[]
4640
On the block diagram you can see that the selected Grove connector dictates the GPIO Pin and we then set the pin to [In]. Next we loop round and event structure and use the timeout to poll the digital inputs. Pressing Stop will fire the Stop event and exit the loop.
4741

4842
image::GroveDigitalInBD.png[]
49-
****

0 commit comments

Comments
 (0)