View Single Post
Old 25-12-2010, 01:38 AM   #2
JumboT
Đệ tử 1 túi
 
Tham gia ngày: Feb 2009
Bài gửi: 21
:
đây là code của em !

void main()
{

set_tris_a(0xff);
set_tris_b(0x00);
set_tris_c(0x00);
set_tris_d(0x00);
portb = 0x00;
delay_ms(100);
while(true){
for(m=0; m<=308;m++)
{
for(l=0;l<=50;l++)
{
RD1 = 1;
RD0 = 1;
RD0 = 0;
RD1 = 0;
for(k=0;k<=39;k++)
{
RD0 = 1;
RD0 = 0;
output_b(0x00);
data[0]=RBC[m+k];
portb = data[0];
delay_us(40);
output_b(0x00);
}
}
}
}
}
JumboT vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn