Bibliography

#include#define LCD P0 #include unsigned int Count,Unit,d1,d2,d3,d4,x1,x2,x3,d5,d6,d7,d8,x4,x5,x6,x7;unsigned int

#include#define LCD P0 #include unsigned int Count,Unit,d1,d2,d3,d4,x1,x2,x3,d5,d6,d7,d8,x4,x5,x6,x7;unsigned int y1,y2,y3,c1,c2,c3,c4,Cost; unsigned char z,Disp;unsigned char code str1=”ENERGYMETER READ”;unsigned char code str2=”PULSE: 0000 “;//unsigned char code str2=”METER ID:XXX “;unsigned char code str3=”Cost: 0000 “;sbit rs = P2^0;sbit rw = P2^1;sbit en = P2^2;sbit Pulse = P1^0;int beats_per_min;char buf20;void LCDInit ( );void lcdcmd (unsigned char );void lcdwrt (unsigned char );void Delay (unsigned int );void Conv1 (unsigned int );void Conv2 (unsigned int );void Conv3 (unsigned int );void main(void){P0=0x00;P1=0xff;P2=0x00;TMOD=0X20;TH1=0XFD; SCON=0X50;TR1=1;TI=1;Count=0x00;Unit=0x00; Cost=0x00;LCDInit(); for(z=0;z