Skip to content

Commit 390ab5b

Browse files
committed
docs: optics
1 parent 98bda6d commit 390ab5b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/src/hal/basic-hal.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ net signal-name pin-name <optional arrow> <optional second pin-name>
139139
net home-x joint.0.home-sw-in <= parport.0.pin-11-in
140140
----
141141

142-
In the above example 'home-x' is the signal name, 'joint.0.home-sw-in' is a 'Direction IN' pin, '<=' is the optional direction arrow, and 'parport.0.pin-11-in' is a 'Direction OUT' pin.
142+
In the above example `home-x` is the signal name, `joint.0.home-sw-in` is a 'Direction IN' pin, `<=` is the optional direction arrow, and `parport.0.pin-11-in` is a 'Direction OUT' pin.
143143
This may seem confusing but the in and out labels for a parallel port pin indicates the physical way the pin works not how it is handled in HAL.
144144

145145
A pin can be connected to a signal if it obeys the following rules:
@@ -234,7 +234,7 @@ These commands are included so older configurations will still work.
234234

235235
==== linksp (deprecated)
236236

237-
The command 'linksp' creates a 'connection' between a signal and one pin.
237+
The command `linksp` creates a 'connection' between a signal and one pin.
238238

239239
.linksp Syntax and Example
240240
[source,{hal}]
@@ -243,12 +243,12 @@ linksp <signal-name> <pin-name>
243243
linksp X-step parport.0.pin-02-out
244244
----
245245

246-
*The 'linksp' command has been superseded by the 'net' command.*
246+
*The `linksp` command has been superseded by the `net` command.*
247247

248248
==== linkps (deprecated)
249249

250250
The command `linkps` creates a 'connection' between one pin and one signal.
251-
It is the same as linksp but the arguments are reversed.
251+
It is the same as `linksp` but the arguments are reversed.
252252

253253
.linkps Syntax and Example
254254
[source,{hal}]

0 commit comments

Comments
 (0)