greentree
Member level 5
- Joined
- Sep 25, 2011
- Messages
- 86
- Helped
- 13
- Reputation
- 26
- Reaction score
- 13
- Trophy points
- 1,288
- Location
- The center of world!
- Activity points
- 1,739
Hi Every body
i'm going to write some characters on LCD (with using from Matrix ). but i don't know how! and i confused!
I wrote this program , see below , please:
.
.
.
int a=0;
char all[20];
DDRA=0XFF;
PORTA=0X04;
lcd_init(16);
lcd_clear ();
lcd_gotoxy(0,0);
while (1)
{
delay_ms(100);
a++;
lcd_clear();
lcd_gotoxy(0,0);
sprintf(all,"%d",a)
lcd_puts(all);
}
but don't work!!
Is it possible that you guide me , please?
Each reply appreciated.
Thanks in advance
Greentree
i'm going to write some characters on LCD (with using from Matrix ). but i don't know how! and i confused!
I wrote this program , see below , please:
.
.
.
int a=0;
char all[20];
DDRA=0XFF;
PORTA=0X04;
lcd_init(16);
lcd_clear ();
lcd_gotoxy(0,0);
while (1)
{
delay_ms(100);
a++;
lcd_clear();
lcd_gotoxy(0,0);
sprintf(all,"%d",a)
lcd_puts(all);
}
but don't work!!
Is it possible that you guide me , please?
Each reply appreciated.
Thanks in advance
Greentree