include Khoi tao bien va cac gia tri gansbit RS_LCD = P25;sbit RW_LCD = P26;sbit E_LCD = P27;sbit qn = P32;sbit qt = P33;sbit tt = P34;sbit gt = P35;sbit stop = P36;sbit start = P37; unsigned char M = {0,0x0c,0x04,0x06,0x02,0x03,0x01,0x09,0x08};unsigned int v,vt,d1,d0;unsigned char a,i,n,j,xungdelay,h; ham tre khoang thoi gian ngan void delay_short(){unsigned int x;for(x=0;x