Skip to content

Commit bf9caac

Browse files
committed
HD44780 improve docs, move code comments to README.md.
1 parent 1e7954e commit bf9caac

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

HD44780/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ This takes the following positional args:
3535
## 4.2 Display updates
3636

3737
The class has no public properties or methods. The display is represented as an
38-
array of strings indexed by row. The row contents is replaced in its entirety.
39-
This is illustrated by the test program:
38+
array of strings indexed by row. The row contents is replaced in its entirety,
39+
replacing all previous contents regardless of length. This is illustrated by
40+
the test program:
4041

4142
```python
4243
import uasyncio as asyncio
@@ -70,7 +71,8 @@ method.
7071

7172
For example this function formats a string such that it is left-padded with
7273
spaces to a given column and right-padded to the specified width (typically the
73-
width of the display). This ensures previous contents are overwritten.
74+
width of the display). Right padding is not necessary but is included to
75+
illustrate how right-justified formatting can be achieved:
7476

7577
```python
7678
def print_at(st, col, width=16):

0 commit comments

Comments
 (0)