Skip to content

Commit 399e9cd

Browse files
Reinhardt Peng(彭成名)Reinhardt Peng(彭成名)
authored andcommitted
BSP keypad pin number modify
1 parent da9c158 commit 399e9cd

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

en-us/api/QuecPythonClasslib.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7126,7 +7126,7 @@ if __name__ == '__main__':
71267126
```
71277127
##### KeyPad
71287128

7129-
Module function: provide matrix keyboard interface and support platform EC600SCN_LB/EC800N_CN_LA/EC600NCN_LC/EC200U_CN_LB/EC600U_CN_LB/EC800M_CN_LA/EC800M_CN_GA/EG912N_ENAA
7129+
Module function: provide matrix keyboard interface and support platform EC600SCN_LB/EC800N_CN_LA/EC600NCN_LC/EC200U_CN_LB/EC600U_CN_LB/EC600M_CN_LA/EC800M_CN_LA/EC800M_CN_GA/EG912N_ENAA
71307130
EC200U supports 4x3 at most and EC600U supports 6x6 at most.
71317131

71327132
###### Create keypad object
@@ -7150,9 +7150,20 @@ EC200U supports 4x3 at most and EC600U supports 6x6 at most.
71507150
| EC600S | 5 | 5 |
71517151
| EC200U | 4 | 3 |
71527152
| EC600U | 6 | 6 |
7153+
| EC600M | 5 | 5 |
71537154
| EC800M | 5 | 5 |
71547155
| EG912N | 3 | 3 |
71557156

7157+
- Pin Description
7158+
7159+
Note: When only some pins are used, the wiring should be done in descending order of row and column numbers. For example, when EC600M uses a 2x2 matrix keyboard, the hardware uses pins 49, 51 and 48, 50.
7160+
7161+
| Platform | Pin |
7162+
| -------- | ------------------------------------------------------------ |
7163+
| EC600M | The row number (output) corresponds to the following pins:<br/>Row No.0 – Pin number 49<br/>Row No.1 – Pin number 51<br/>Row No.2 – Pin number 53<br/>Row No.3 – Pin number 55<br/>Row No.4 – Pin number 56<br/>The column number (input) corresponds to the following pins:<br/>Col No.0 – Pin number 48<br/>Col No.1 – Pin number 50<br/>Col No.2 – Pin number 52<br/>Col No.3 – Pin number 54<br />Col No.4 – Pin number 57 |
7164+
| EC800M | The row number (output) corresponds to the following pins:<br/>Row No.0 – Pin number 86<br/>Row No.1 – Pin number 76<br/>Row No.2 – Pin number 85<br/>Row No.3 – Pin number 82<br/>Row No.4 – Pin number 74<br/>The column number (input) corresponds to the following pins:<br/>Col No.0 – Pin number 87<br/>Col No.1 – Pin number 77<br/>Col No.2 – Pin number 84<br/>Col No.3 – Pin number 83<br />Col No.4 – Pin number 75 |
7165+
| EG912N | The row number (output) corresponds to the following pins:<br/>Row No.1 – Pin number 20<br/>Row No.2 – Pin number 16<br/>Row No.3 – Pin number 116<br/>The column number (input) corresponds to the following pins:<br/>Col No.2 – Pin number 105<br/>Col No.3 – Pin number 21<br />Col No.4 – Pin number 1 |
7166+
71567167
* Example:
71577168
>
71587169
>```python

zh-cn/api/QuecPythonClasslib.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7595,7 +7595,7 @@ if __name__ == '__main__':
75957595

75967596
##### KeyPad
75977597

7598-
模块功能:提供矩阵键盘接口,支持平台EC600SCN_LB/EC800N_CN_LA/EC600NCNLC/EC200U_CN_LB/EC600U_CN_LB/EC800M_CN_LA/EC800M_CN_GA/EG912N_ENAA
7598+
模块功能:提供矩阵键盘接口,支持平台EC600SCN_LB/EC800N_CN_LA/EC600NCNLC/EC200U_CN_LB/EC600U_CN_LB/EC600M_CN_LA/EC800M_CN_LA/EC800M_CN_GA/EG912N_ENAA
75997599

76007600
EC200U最大支持4X3,EC600U最大支持6X6
76017601

@@ -7616,9 +7616,20 @@ EC200U最大支持4X3,EC600U最大支持6X6。
76167616
| EC600S | 5 | 5 |
76177617
| EC200U | 4 | 3 |
76187618
| EC600U | 6 | 6 |
7619+
| EC600M | 5 | 5 |
76197620
| EC800M | 5 | 5 |
76207621
| EG912N | 3 | 3 |
76217622

7623+
- 引脚说明
7624+
7625+
注意:当不使用全部引脚时,接线按行列号从小到大顺序接线,比如EC600M使用2x2矩阵键盘时,硬件使用49514850引脚。
7626+
7627+
| 平台 | 引脚 |
7628+
| ------ | ------------------------------------------------------------ |
7629+
| EC600M | 行号(输出)对应引脚如下:<br/>行号0 – 引脚号49<br/>行号1 – 引脚号51<br/>行号2 – 引脚号53<br/>行号3 – 引脚号55<br/>行号4 – 引脚号56<br/>列号(输入)对应引脚如下:<br/>列号0 – 引脚号48<br/>列号1 – 引脚号50<br/>列号2 – 引脚号52<br/>列号3 – 引脚号54<br />列号4 – 引脚号57 |
7630+
| EC800M | 行号(输出)对应引脚如下:<br/>行号0 – 引脚号86<br/>行号1 – 引脚号76<br/>行号2 – 引脚号85<br/>行号3 – 引脚号82<br/>行号4 – 引脚号74<br/>列号(输入)对应引脚如下:<br/>列号0 – 引脚号87<br/>列号1 – 引脚号77<br/>列号2 – 引脚号84<br/>列号3 – 引脚号83<br/>列号4 – 引脚号75 |
7631+
| EG912N | 行号(输出)对应引脚如下:<br/>行号1 – 引脚号20<br/>行号2 – 引脚号16<br/>行号3 – 引脚号116<br/>列号(输入)对应引脚如下:<br/>列号2 – 引脚号105<br/>列号3 – 引脚号21<br/>列号4 – 引脚号1 |
7632+
76227633

76237634
* 示例:
76247635
> ```python

0 commit comments

Comments
 (0)