Skip to content

Commit 39362bc

Browse files
committed
zz
1 parent ebab56a commit 39362bc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/smalltalk/st0082.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ LCD液晶显示器的工作原理是通过使用液晶精确控制光线来在
4242
```wa
4343
// +---------------------------------------------------------------------+
4444
// | LCD1602 Module |
45-
// |-----+-----------------------+---------------------+-----------------+
45+
// +-----+-------+---------------+---------------------+-----------------+
4646
// | Pin | Label | Connected To | Description | In Code |
47-
// |-----+-------+---------------+---------------------+-----------------+
47+
// +-----+-------+---------------+---------------------+-----------------+
4848
// | 1 | GND | GND | Ground | - |
4949
// | 2 | VCC | 5V | Power Supply | - |
5050
// | 3 | VO | Potentiometer | Contrast Control | - |
@@ -214,7 +214,10 @@ global (
214214
// 初始化液晶屏
215215
func LCDInit()
216216
217-
// 在当前位置显示字符
217+
// 设置光标位置
218+
func LCDSetCursor(row, col: i32)
219+
220+
// 在当前位置开始写字符, 并移动光标
218221
func LCDWriteChar(ch: rune)
219222
220223
// 清空屏幕

0 commit comments

Comments
 (0)