Skip to content

Commit cebbcaa

Browse files
Apply suggestions from code review
Co-authored-by: brunocruz <7049351+bruno-f-cruz@users.noreply.github.com>
1 parent cc10e72 commit cebbcaa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tutorials/hobgoblin-reaction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The task begins with an inter-trial interval (`ITI`), followed by stimulus prese
2121

2222
### Exercise 1: Generating a fixed-interval stimulus
2323

24-
In this first exercise, you will assemble the basic hardware and software components required to implement the reaction time task. Connect the LED to digital output channel `0` (`GP15`) on the `Hobgoblin`. Connect the pushbutton to digital input channel `0` (`GP2`) on the `Hobgoblin`.
24+
In this first exercise, you will assemble the basic hardware and software components required to implement the reaction time task. Connect the LED to digital output channel `0` (`GP15`) on the `Hobgoblin`. Connect the push button to digital input channel `0` (`GP2`) on the `Hobgoblin`.
2525

2626
>[!TIP]
2727
> You can use other digital input or digital output channels, but make sure to change the appropriate properties.
@@ -36,9 +36,9 @@ Next, we will set up our `Hobgoblin`.
3636

3737
- Insert a [`Device`] operator and set the `PortName` property.
3838
- Insert a [`DeviceDataWriter`] and set the `Path` property. Connecting it directly to the device ensures thats all events are logged.
39+
- During this tutorial we will need to have the ability to send/receive commands from distinct places in the workflow. To allow this kind of "many-to-one"/"one-to-many" communication, we will:
3940
- Insert a [`PublishSubject`] operator and name it `Hobgoblin Events`.
4041

41-
This covers what we learned in the [Acquisition and Control](./hobgoblin-acquisition.md) tutorial. However we also want a way to send commands to the `Hobgoblin` without connecting directly to the input of the [`Device`] operator.
4242

4343
- Right-click the [`Device`] operator, select `Create Source (Bonsai.Harp.HarpMessage)` > [`BehaviorSubject`]. Name the generated ``BehaviourSubject`1`` operator `Hobgoblin Commands`. Connect it as input to the [`Device`] operator.
4444

0 commit comments

Comments
 (0)