Skip to content

Commit 4d02eb5

Browse files
banchan86jfrazao
andcommitted
Modify helloworld to touch sensor and add wiring diagram
Co-authored-by: jfrazao <j.frazao@neurogears.org>
1 parent 70245b7 commit 4d02eb5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
2.72 MB
Loading

tutorials/hobgoblin-setup.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,16 @@ The [Harp Hobgoblin](https://github.com/harp-tech/device.hobgoblin) is a simple
2121

2222
## Testing the device
2323

24+
![Hobgoblin Touch](../images/hobgoblin-helloworld-touch.png){width=400}
25+
*<small>Hobgoblin wiring diagram for touch sensor</small>*
26+
2427
:::workflow
2528
![Hobgoblin Hello World](~/workflows/hobgoblin-helloworld.bonsai)
2629
:::
2730

28-
- Connect a push button to analog input channel `0` (`GP26`) on the `Hobgoblin`.
31+
- Connect a touch sensor to analog input channel `0` (`GP26`) on the `Hobgoblin`.
2932
- Set the `PortName` property of the [`Hobgoblin`](xref:Harp.Hobgoblin.Device) operator to the communications port of the `Hobgoblin` (e.g. COM7).
30-
- Run the workflow and double-click the output of `AnalogInput0`. The value should change when the push button is pressed.
33+
- Run the workflow and double-click the output of `AnalogInput0`. The value should change when the touch sensor is pressed.
3134

3235
## Installing harp-python
3336

0 commit comments

Comments
 (0)