Skip to content

Commit b9d9b10

Browse files
authored
Merge pull request #3007 from petterreinholdtsen/man-component-asciiart-nbsp
Use non-breaking space in component documentation ASCII art.
2 parents 08504fc + fd42d30 commit b9d9b10

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/hal/components/toggle.comp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ component toggle "'push-on, push-off' from momentary pushbuttons";
22

33
description
44
"""
5-
┐ ┏──┐──┐
5+
     ┐     ┌──┐        ┌──┐
66
.br
7-
in : └─────└────────└──
7+
in : └─────┘  └────────┘  └──
88
.br
9-
┌───────────┐
9+
     ┐     ┌───────────┐
1010
.br
11-
out: └─────┘ └─────
11+
out: └─────┘           └─────
1212
""";
1313

1414
pin in bit in "button input";

src/hal/components/toggle2nist.comp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ and an is-on output.
1111
\[bu] On a rising edge on pin \\fIin\\fR when \\fIis-on\\fR is high: It sets \\fIoff\\fR until \\fIis-on\\fR becomes low.
1212

1313

14-
┐ ┏─────xxxxxxxxxxxx┐─────xxxxxxxxxxxx┐
14+
       ┐     ┌─────xxxxxxxxxxxx┐           ┌─────xxxxxxxxxxxx┐
1515
.br
16-
in : └─────xxxxxxxxxxxx└───────────xxxxxxxxxxxx└─────
16+
in   : └─────┘     xxxxxxxxxxxx└───────────┘     xxxxxxxxxxxx└─────
1717
.br
18-
┌───────────┐
18+
       ┐     ┌───────────┐
1919
.br
20-
on : └─────┘ └─────────────────────────────────────────
21-
┌───────────┐
20+
on   : └─────┘           └─────────────────────────────────────────
21+
       ┐                                   ┌───────────┐
2222
.br
23-
off : └───────────────────────────────────┘ └───────────
23+
off  : └───────────────────────────────────┘           └───────────
2424
.br
25-
┌─────────────────────────────┐
25+
       ┐                 ┌─────────────────────────────┐
2626
.br
27-
is-on: └─────────────────┘ └───────────
27+
is-on: └─────────────────┘                             └───────────
2828

2929
""";
3030

0 commit comments

Comments
 (0)