FreeCalypso > hg > freecalypso-hwlab
comparison lcdtest/dispatch.c @ 25:0a44549a64c8
lcdtest: implemented ILI9225G register init for HT020K1QC36S
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 25 May 2018 02:41:30 +0000 |
parents | 94521a02c33d |
children |
comparison
equal
deleted
inserted
replaced
24:94521a02c33d | 25:0a44549a64c8 |
---|---|
13 extern int cmd_wd(); | 13 extern int cmd_wd(); |
14 extern int cmd_wi(); | 14 extern int cmd_wi(); |
15 extern int cmd_wr(); | 15 extern int cmd_wr(); |
16 | 16 |
17 extern int reset_pulse(); | 17 extern int reset_pulse(); |
18 extern int init_haoran(); | |
18 extern int init_startek(); | 19 extern int init_startek(); |
19 | 20 |
20 cmd_exit() | 21 cmd_exit() |
21 { | 22 { |
22 exit(0); | 23 exit(0); |
30 } cmdtab[] = { | 31 } cmdtab[] = { |
31 {"cd", 1, 1, cmd_cd}, | 32 {"cd", 1, 1, cmd_cd}, |
32 {"exit", 0, 0, cmd_exit}, | 33 {"exit", 0, 0, cmd_exit}, |
33 {"fc", 1, 16, cmd_fc}, | 34 {"fc", 1, 16, cmd_fc}, |
34 {"fr", 1, 1, cmd_fr}, | 35 {"fr", 1, 1, cmd_fr}, |
36 {"init-ht", 0, 0, init_haoran}, | |
35 {"init-st", 0, 0, init_startek}, | 37 {"init-st", 0, 0, init_startek}, |
36 {"quit", 0, 0, cmd_exit}, | 38 {"quit", 0, 0, cmd_exit}, |
37 {"rd", 0, 0, cmd_rd}, | 39 {"rd", 0, 0, cmd_rd}, |
38 {"reset", 0, 0, reset_pulse}, | 40 {"reset", 0, 0, reset_pulse}, |
39 {"ri", 0, 0, cmd_ri}, | 41 {"ri", 0, 0, cmd_ri}, |