bigreat
Member level 1
lcdupdate nokia 3310
i use atmega32l control nokia 3310 lcd.
the code is from microsyl.
these is my main code:
but is can't display clearly what i want display.the 3310 is coruscated and coruscated during the power on.
the picture is about the 3310 display.
please help me.
thanx
i use atmega32l control nokia 3310 lcd.
the code is from microsyl.
these is my main code:
Code:
#include "iom32.h"
#include "nokialcd.c"
void delay(unsigned long int);
int as;
void main()
{
LcdInit(); //init 3310 LCD
LcdClear(); //clear 3310 LCD
LcdUpdate(); //move cache data into RAM LCD
while(1)
{
LcdGotoXY(5,6);
LcdStr(1,"BiGreat");
delay(60000);
LcdUpdate();
LcdClear();
LcdGotoXY(9,0);
LcdStr(1,"myasdfasfd");
LcdUpdate();
}
}
void delay(unsigned long int delayValue)
{
unsigned long int a;
for(a=0;a<delayValue;a++);
}
but is can't display clearly what i want display.the 3310 is coruscated and coruscated during the power on.
the picture is about the 3310 display.
please help me.
thanx