STRIP.C

Electronics For You - - Construction -

P1 = 0x00; P2 = 0x00; P3 = 0x00; De­lay(50);

} for( i= 0; i < 5; i++)

//for­ward then back­ward {

num = 0x80; for ( k = 0; k < 8; k++)

// for­ward { P0 = num; P1 = num; P2 = num; P3 = num; De­lay(25); // De­lay num = num >> 1; } num = 0x01; for ( k = 0; k < 8; k++)

//back­ward

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.