Help with KS0066U LCD controller initialization

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Help with KS0066U LCD controller initialization

1,162件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by pindonga123 on Mon Nov 04 10:53:32 MST 2013
Hello. I cant initialize the LCD. I do the next but it dont work, where am I wrong?. Im using the 8 bits data bus

        Delay (40);                                                  Wait 40 msec
LPC_GPIO2->FIOPIN= clear;                      Put 0 in pin E
Delay (1);                                                    Wait 1 msec
LPC_GPIO2->FIOPIN =funcion_set;            Write Function_Set Values
LPC_GPIO2->FIOPIN= enable;                   Put 1 in pin E
Delay (1);                                                    Wait 1 msec  
LPC_GPIO2->FIOPIN= clear;                      Put 0 in pin E
Delay (1);                                                    Wait 1msec
LPC_GPIO2->FIOPIN = on_off_control;      Write Display ON/OFF Control
LPC_GPIO2->FIOPIN= enable;                   Put 0 in pin E
Delay (1);                                                    Wait 1 msec
LPC_GPIO2->FIOPIN= clear;
Delay (1);
LPC_GPIO2->FIOPIN = display_clear;
LPC_GPIO2->FIOPIN= enable;
Delay (2);
LPC_GPIO2->FIOPIN= clear;
LPC_GPIO2->FIOPIN = entry_mode_set;
LPC_GPIO2->FIOPIN= enable;
Delay (1);
0 件の賞賛
返信
0 返答(返信)