Skip to content

Commit 524fa4e

Browse files
committed
Finished An Inputs Page
1 parent c660d49 commit 524fa4e

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

52.7 KB
Loading
220 KB
Loading

www/en/modules/ROOT/pages/grove-analog-inputs.adoc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,24 @@ https://wiki.seeedstudio.com/Grove-Rotary_Angle_Sensor[Rotary Angle Sensor]
1919

2020
== Demo Video
2121

22-
Here is a video that shows the set-up and running of the Dual Button Digital Inputs
22+
Here is a video that shows the set-up and running of the Rotary Angle Sensor
2323

2424
video::0-suR8HejsY[youtube]
2525

2626
== Example Code
2727

28-
Navigate to >>Scratchpad>>Grove>>Analog Inputs>>Grove Digital In.vi
28+
Navigate to >>Scratchpad>>Grove>>Analog Inputs>>Grove Read ADC.vi
2929

3030
image::GroveReadADCProject.png[]
3131

3232
This particular VI uses a rotary angle sensor (potentiometer). Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow.
3333

34-
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.
34+
You should be able to see the graph change corresponding to how much you change the rotary sensor.
3535

3636
Links to various other similar boards are also on the Front Panel.
3737

38-
image::images\grove-digital-inputs\GroveDigitalInFP.png[]
38+
image::GroveReadADCFP.png[]
3939

40-
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.
40+
On the block diagram you can see that the selected Grove connector is input into *Configure AI.vi*. Next we loop round the event structure and use the timeout to poll the selected analog input using **AI Read Value.vi**. Pressing Stop will fire the Stop event and exit the loop.
4141

42-
image::images\grove-digital-inputs\GroveDigitalInBD.png[]
43-
****
42+
image::GroveReadADCBD.png[]

www/en/modules/ROOT/pages/index.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ ifndef::loader-assembler[]
1010
endif::[]
1111
1212
13-
13+
== 🎯 Course Objective
1414
This material is aimed at providing examples employing the CTI firmware, mainly implemented using the Grove platform.
1515
1616
The focus is to provide enough toys to enable a prospective engineer or hobbyist to start building things.
1717
18+
== 👥 Target Audience
1819
Some Electronics knowledge would be useful, but hopefully the wealth of material available for these platforms can fill in the gaps. Videos will be provided to offer some real-world experience.

0 commit comments

Comments
 (0)