You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
252 B
19 lines
252 B
2 years ago
|
# STM8S103F keypad to UART
|
||
|
|
||
|
Matrix: row C3-6 x column D1-4
|
||
|
|
||
|
UART1 Tx: D5
|
||
|
|
||
|
Keypad format:
|
||
|
|
||
|
```
|
||
|
1 2 3 A
|
||
|
4 5 6 B
|
||
|
7 8 9 C
|
||
|
* 0 # D
|
||
|
```
|
||
|
|
||
|
Each keypress emits the corresponding ASCII to UART (ABCD uppercase). No repeat.
|
||
|
|
||
|
Only one key can be pressed at a time.
|