COMPILE TIME ERROR::mini project.c(49): warning C206: 'lcddata':
missing function-prototype ::mini project.c(49): error C267:
'lcddata': requires ANSI-style prototype
PROGRAM
#include<reg51.h>
sfr LCD=0x80;
sbit RS=P2^6;
sbit EN=P2^7;
unsigned int a=0,i=0,v;
void tm();
void delay(unsigned char time)
{ unsigned int a,b;
for(a=0;a<time;a++)
for(b=0;b<1275;b++);
} void lcdmd(unsigned char value)
{ LCD=value;
RS=1;
EN=1;
del
↧