nexus148
Joined: 20 Feb 2009 Posts: 1
|
Nokia 3310 and Pic18F4550. |
Posted: Fri Feb 20, 2009 9:07 am |
|
|
I have a problem with display Nokia 3310 and Pic18F4550.
I've used the code:
http://www.ccsinfo.com/forum/viewtopic.php?t=25571
I use 4 mhz clock and my main() program is:
Code: | void main(void)
{
set_tris_d(0b00000111);
set_tris_e(0b00000000);
output_high(LED_Rojo);
output_low(LED_Verde);
delay_ms(100);
output_low(LED_Rojo);
output_high(LED_Verde);
nokia_init();
nokia_gotoxy(0,0);
printf(nokia_printchar,"test???");
for(;;)
{
delay_ms(500);
}
} |
And this pin config:
Code: | #define nok_sclk PIN_D7
#define nok_sda PIN_D6
#define nok_dc PIN_D5
#define nok_cs PIN_D4
#define nok_res PIN_D3 |
after the power, black display.
Any help.
Thankyou |
|