Skip to content

Commit c440c0d

Browse files
committed
Sorting out basic navigation
chucked in a load of templates
1 parent 757c9d4 commit c440c0d

28 files changed

+997
-22
lines changed

www/en/modules/ROOT/images/general/GroveDigitalConnectionsPico.png renamed to www/en/modules/ROOT/images/GroveDigitalConnectionsPico.png

File renamed without changes.

www/en/modules/ROOT/images/grove-digital-inputs/GroveDigitalInBD.png renamed to www/en/modules/ROOT/images/GroveDigitalInBD.png

File renamed without changes.

www/en/modules/ROOT/images/grove-digital-inputs/GroveDigitalInFP.png renamed to www/en/modules/ROOT/images/GroveDigitalInFP.png

File renamed without changes.

www/en/modules/ROOT/images/grove-digital-inputs/GroveDigitalInProject.png renamed to www/en/modules/ROOT/images/GroveDigitalInProject.png

File renamed without changes.
File renamed without changes.

www/en/modules/ROOT/nav.adoc

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,12 @@
22
* xref:set-up.adoc[Set-up Instructions]
33
* xref:what-is-grove.adoc[What is Grove]
44
5-
* xref:grove-digital-outputs.adoc[Digital Output Examples]
6-
* xref:grove-i2c-4-channel-spdt-realy-board.adoc[4 Channel SPDT Relay Board Example]
7-
8-
* xref:grove-digital-inputs.adoc[Digital Input Examples]
9-
10-
* xref:grove-analog-outputs-pwm.adoc[Analog Output PWM Examples]
11-
* xref:grove-i2c-M5StackDAC2-An-Out.adoc[M5StackDAC2 An Out Example]
12-
* xref:grove-i2c-gp8313-0-20ma-dac.adoc[GP8313 0-20mA An Out Example]
13-
14-
* xref:grove-analog-inputs.adoc[Analog Input Examples]
15-
* xref:grove-i2c-ADC-ADS1115.adoc[4 Channel An In Example]
16-
* xref:grove-i2c-dh20-temperature-humidity-sensor.adoc[DH20 Temperature Humidity Sensor Example]
17-
* xref:grove-i2c-mcp9600-thermocouple-sensor.adoc[MCP9600 Thermocouple Sensor Example]
18-
19-
* xref:grove-i2c-ssdc1315-64x128oled-display.adoc[SSD1315 64x128OLED Display Example]
20-
* xref:grove-i2c-hd44870-LCD-display.adoc[HD44870 LCD Display Example]
21-
* xref:grove-i2c-sgm31323-rgb-controller-LCD-display.adoc[SGM31323 RGB Controller(LCD Display) Example]
22-
23-
* xref:grove-i2c-8x8thermal-camera.adoc[AMG8833 Thermal Camera Example]
24-
* xref:grove-i2c-gesture-sensor-I2C-PAJ7620U2.adoc[Gesture Sensor PAJ7620U2 Example]
25-
* xref:grove-i2c-lsm6ds3-6-axis-gyro-accel.adoc[LSM6DS3 6 Axis Gyro Accel Example]
5+
* xref:analog-inputs-nav.adoc[Analog Input Examples]
6+
* xref:analog-outputs-nav.adoc[Analog Output Examples]
7+
* xref:digital-inputs-nav.adoc[Digital Input Examples]
8+
* xref:digital-outputs-nav.adoc[Digital Output Examples]
269
10+
* xref:gadgets-nav.adoc[Misc Gadgets Examples]
2711
2812
2913
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
= Grove Digital Inputs
2+
:page-toclevels: 1
3+
4+
.Overview
5+
:page-toclevels: 2
6+
****
7+
This example uses the grove button module but the source code is also applicable for other similar Grove Modules.
8+
9+
The GPIO Pins used are [D16,D17],[D18,D19],[D20,D21]
10+
11+
image::general\GroveDigitalConnectionsPico.png[]
12+
13+
14+
****
15+
16+
.Hardware Details
17+
:page-toclevels: 2
18+
****
19+
https://wiki.seeedstudio.com/Grove-Dual-Button/#features[Grove Dual Button]
20+
****
21+
22+
.Demo Video
23+
:page-toclevels: 2
24+
****
25+
Here is a video that shows the set-up and running of the Dual Button Digital Inputs
26+
27+
video::0-suR8HejsY[youtube]
28+
29+
****
30+
31+
.Example Code
32+
:page-toclevels: 2
33+
****
34+
Navigate to >>Scratchpad>>Grove>>Digital Inputs>>Grove Digital In.vi
35+
36+
image::images\grove-digital-inputs\GroveDigitalInProject.png[]
37+
38+
This particular VI uses the dual buttons. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
39+
40+
You should now see the button indicators light up when the corresponding button is pressed. The Indicators use a transparent fill for the off state and a brighter Red or Green for the on state.
41+
42+
Links to various other similar boards are also on the Front Panel.
43+
44+
image::images\grove-digital-inputs\GroveDigitalInFP.png[]
45+
46+
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.
47+
48+
image::images\grove-digital-inputs\GroveDigitalInBD.png[]
49+
****
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
= Grove Digital Inputs
2+
:page-toclevels: 1
3+
4+
.Overview
5+
:page-toclevels: 2
6+
****
7+
This example uses the grove button module but the source code is also applicable for other similar Grove Modules.
8+
9+
The GPIO Pins used are [D16,D17],[D18,D19],[D20,D21]
10+
11+
image::general\GroveDigitalConnectionsPico.png[]
12+
13+
14+
****
15+
16+
.Hardware Details
17+
:page-toclevels: 2
18+
****
19+
https://wiki.seeedstudio.com/Grove-Dual-Button/#features[Grove Dual Button]
20+
****
21+
22+
.Demo Video
23+
:page-toclevels: 2
24+
****
25+
Here is a video that shows the set-up and running of the Dual Button Digital Inputs
26+
27+
video::0-suR8HejsY[youtube]
28+
29+
****
30+
31+
.Example Code
32+
:page-toclevels: 2
33+
****
34+
Navigate to >>Scratchpad>>Grove>>Digital Inputs>>Grove Digital In.vi
35+
36+
image::images\grove-digital-inputs\GroveDigitalInProject.png[]
37+
38+
This particular VI uses the dual buttons. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
39+
40+
You should now see the button indicators light up when the corresponding button is pressed. The Indicators use a transparent fill for the off state and a brighter Red or Green for the on state.
41+
42+
Links to various other similar boards are also on the Front Panel.
43+
44+
image::images\grove-digital-inputs\GroveDigitalInFP.png[]
45+
46+
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.
47+
48+
image::images\grove-digital-inputs\GroveDigitalInBD.png[]
49+
****
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
= Grove Digital Inputs
2+
:page-toclevels: 1
3+
4+
.Overview
5+
:page-toclevels: 2
6+
****
7+
A digital input can be thought of as the reading from a button, a switch or a digital sensor. These examples use the GPIO Pins [D16,D17],[D18,D19],[D20,D21] that correspond to connectors D16,D18 and D20 on the grove hat.
8+
9+
image::general\GroveDigitalConnectionsPico.png[]
10+
11+
* xref:grove-digital-inputs.adoc[Grove Digital Inputs]
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
= Grove Digital Inputs
2+
:page-toclevels: 1
3+
4+
.Overview
5+
:page-toclevels: 2
6+
****
7+
This example uses the grove button module but the source code is also applicable for other similar Grove Modules.
8+
9+
The GPIO Pins used are [D16,D17],[D18,D19],[D20,D21]
10+
11+
image::general\GroveDigitalConnectionsPico.png[]
12+
13+
14+
****
15+
16+
.Hardware Details
17+
:page-toclevels: 2
18+
****
19+
https://wiki.seeedstudio.com/Grove-Dual-Button/#features[Grove Dual Button]
20+
****
21+
22+
.Demo Video
23+
:page-toclevels: 2
24+
****
25+
Here is a video that shows the set-up and running of the Dual Button Digital Inputs
26+
27+
video::0-suR8HejsY[youtube]
28+
29+
****
30+
31+
.Example Code
32+
:page-toclevels: 2
33+
****
34+
Navigate to >>Scratchpad>>Grove>>Digital Inputs>>Grove Digital In.vi
35+
36+
image::images\grove-digital-inputs\GroveDigitalInProject.png[]
37+
38+
This particular VI uses the dual buttons. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
39+
40+
You should now see the button indicators light up when the corresponding button is pressed. The Indicators use a transparent fill for the off state and a brighter Red or Green for the on state.
41+
42+
Links to various other similar boards are also on the Front Panel.
43+
44+
image::images\grove-digital-inputs\GroveDigitalInFP.png[]
45+
46+
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.
47+
48+
image::images\grove-digital-inputs\GroveDigitalInBD.png[]
49+
****

0 commit comments

Comments
 (0)