You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/examples.md
+30-5Lines changed: 30 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,10 @@ Alternatively, you can expand the link below and copy and paste the code into a
17
17
18
18
Make sure you've selected the correct board and port in the Tools menu and then hit the upload button. Once the code has finished uploading, go ahead and open a [Serial Monitor](https://learn.sparkfun.com/tutorials/terminal-basics). You should see something similar to the following.
19
19
20
-
20
+
<figuremarkdown>
21
+
[{ width="600" }](assets/img/Arduino_Example_1_Output.jpg"Click to enlarge")
22
+
<figcaptionmarkdown>Example 1 Output</figcaption>
23
+
</figure>
21
24
22
25
###Example 2: SetUnits
23
26
@@ -40,6 +43,21 @@ Alternatively, you can expand the link below and copy and paste the code into a
40
43
--8<-- ""
41
44
```
42
45
46
+
Notice the following code snippet - this is the section of code that allows you to choose your units:
47
+
48
+
<figuremarkdown>
49
+
[{ width="600" }](assets/img/Arduino_Example_2_CodeSnippet.jpg"Click to enlarge")
50
+
<figcaptionmarkdown>Example 2 Code To Change Units </figcaption>
51
+
</figure>
52
+
53
+
54
+
Make sure you've selected the correct board and port in the Tools menu and then hit the upload button. Once the code has finished uploading, go ahead and open a [Serial Monitor](https://learn.sparkfun.com/tutorials/terminal-basics). You should see something similar to the following.
55
+
56
+
<figuremarkdown>
57
+
[{ width="600" }](assets/img/Arduino_Example_2_Output.jpg"Click to enlarge")
58
+
<figcaptionmarkdown>Example 2 Output</figcaption>
59
+
</figure>
60
+
43
61
44
62
###Example 3: Calibration
45
63
@@ -159,18 +177,23 @@ To find Example 7, go to **File** > **Examples** > **SparkFun Qwiic OTOS** > **E
159
177
160
178
Alternatively, you can expand the link below and copy and paste the code into a shiny new Arduino sketch:
161
179
162
-
163
-
164
180
??? "Example 7 Arduino Code"
165
181
```
166
182
--8<-- ""
167
183
```
168
184
185
+
Make sure you've selected the correct board and port in the Tools menu and then hit the upload button. Once the code has finished uploading, go ahead and open a [Serial Monitor](https://learn.sparkfun.com/tutorials/terminal-basics). You should see something similar to the following:
186
+
187
+
<figuremarkdown>
188
+
[{ width="600" }](assets/img/Arduino_Example_7_Output.jpg"Click to enlarge")
189
+
<figcaptionmarkdown>Example 7 Output</figcaption>
190
+
</figure>
191
+
169
192
170
193
171
194
###Example 8: SelfTest
172
195
173
-
This example shows how to set the offset for the sensor relative to the center of the robot. The units default to inches and degrees, but if you want to use different units, make sure you specify them before setting the offset.
196
+
Again, this should be self explanatory. This example tests the basics to make sure everything is working as expected.
174
197
175
198
To find Example 8, go to **File** > **Examples** > **SparkFun Qwiic OTOS** > **Example8_SelfTest**:
176
199
@@ -187,4 +210,6 @@ Alternatively, you can expand the link below and copy and paste the code into a
Copy file name to clipboardExpand all lines: docs/hardware_overview.md
+23-21Lines changed: 23 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,27 +15,6 @@ The STM32C011F4U6 microcontroller has a high-performance Arm® Cortex®-M0+ 32-b
15
15
</figure>
16
16
-->
17
17
18
-
## Power
19
-
20
-
The LED indicator lights when power is provided to the board.
21
-
22
-
<!--
23
-
<figure markdown>
24
-
[
25
-
<figcaption markdown>Power LED</figcaption>
26
-
</figure>
27
-
-->
28
-
29
-
## Qwiic Connectors
30
-
31
-
The Qwiic Connectors on the SparkFun Optical Tracking Odometry Sensor - PAA5160E1 (Qwiic) provide power and I<sup>2</sup>C connectivity simultaneously. <!--The default I<sup>2</sup>C address is . -->
32
-
33
-
<!--
34
-
<figure markdown>
35
-
[{ width="200" }](assets/img/ "Click to enlarge")
@@ -75,6 +54,29 @@ The LSM6DSO from STMicroelectronics has a 3-axis digital accelerometer and 3-axi
75
54
</figure>
76
55
-->
77
56
57
+
58
+
## Power
59
+
60
+
The LED indicator lights when power is provided to the board.
61
+
62
+
<!--
63
+
<figure markdown>
64
+
[
65
+
<figcaption markdown>Power LED</figcaption>
66
+
</figure>
67
+
-->
68
+
69
+
## Qwiic Connectors
70
+
71
+
The Qwiic Connectors on the SparkFun Optical Tracking Odometry Sensor - PAA5160E1 (Qwiic) provide power and I<sup>2</sup>C connectivity simultaneously. The default I<sup>2</sup>C address is 0x17.
72
+
73
+
<!--
74
+
<figure markdown>
75
+
[{ width="200" }](assets/img/ "Click to enlarge")
The PTH pins on the side of the board allow you to provide power, access the I<sup>2</sup>C Data and Clock lines, and there are two pins available for UART/generic programming purposes. In normal operation, IO9 acts as a "data ready" interrupt; this pin could be used to synchronize measurements if needed.
0 commit comments