bikashh
Full Member level 5
hello everybody....
i am trying to create custom design in my LCD but in vain.if anybody has any idea please share.my code is written below...
const char array_base[8]={0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x00};
main()
{
LCDINIT();
Update_WDT();//watchdog timer
LcdCmd(0x01);//LCD clear command
while(1)
{
Update_WDT();
My_Char(&array_base[0],0x40);
}
}
void My_Char(const char *ptr,int addres)
{
int i;
LcdCmd(addres);//LCD command
for(i=0;i<8;i++)
{
LcdDat(ptr);//LCD data
}
}
i am trying to create custom design in my LCD but in vain.if anybody has any idea please share.my code is written below...
const char array_base[8]={0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x00};
main()
{
LCDINIT();
Update_WDT();//watchdog timer
LcdCmd(0x01);//LCD clear command
while(1)
{
Update_WDT();
My_Char(&array_base[0],0x40);
}
}
void My_Char(const char *ptr,int addres)
{
int i;
LcdCmd(addres);//LCD command
for(i=0;i<8;i++)
{
LcdDat(ptr);//LCD data
}
}