lcd.doc
来自「一个C style Assembler的source code」· DOC 代码 · 共 41 行
DOC
41 行
T h e I O K e y p a d / L C D D e m o(0) OVERVIEW This demo is meant to be used with the io.lib software. For me, itsprimary function has been to verify and test the keypad and LCD hardware, andthe associated circuitry.(1) COMMAND SUMMARY To run this demo, you will either need (1) compatible hardware to use withio.lib or (2) to write yout own emulator for the io.lib routines. The emulatorcould be, for instance, a set of routines that communicate with a client overan RS-232 line. You will need to locate the keys that correspond to the numeric values 0 to15 before using this demo, since all the commands are executed from the keypad. IO Demo Command Summary Command Function 0 NN cputs(NN) 1 clear 2 home 3 N set_cursor(N) 4 cursor_left 5 cursor_right 6 shift_left 7 shift_right 8 RC locate(Row, Col) 9 scr_init 10 cputs("This is a test") 11 save_cursor 12 restore_cursorThe numerical inputs, NN, N and RC are keyed in from the keypad followingthe command, one hexadecimal digit at a time. The keys 0 to 15 are mappedonto the hexadecimal digits 0-9, a-f respectively. The numbers NN and RCare two hexadecimal digits, and N is one. Because of the constraints on the command format, it will not be possibleto "locate" past column 15 using the command 8. The first hex digit (R) isthe row where the cursor is to be located, and the second is the cursor'snew column, which cannot be larger than 16. The commands listed above are all described in IO.doc.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?