tai sao o vang lap nay lai la 900 ma ko fai so khac.void hienthiso( unsigned int b )
{
unsigned int x,y,z,lap;
// Tach b thanh cac so hang tram, hang chuc, hang don vi.
x = b/100;
y = (b-100*x)/10;
z =b-100*x-10*y;
for(lap=0;lap<900;lap++) // lap hien thi
{
qled(x,y,z);
delay(5);
}
}
{
unsigned int x,y,z,lap;
// Tach b thanh cac so hang tram, hang chuc, hang don vi.
x = b/100;
y = (b-100*x)/10;
z =b-100*x-10*y;
for(lap=0;lap<900;lap++) // lap hien thi
{
qled(x,y,z);
delay(5);
}
}