thannara123
Advanced Member level 5
I wrote just is it correct
Code:
void main(){
CLK = 0;
PL = 0;
delay(50);
PL = 1;
if(SI)
{
shiftdata = shiftdata + 1;
for(q=0;q<7; q++)
{
shiftdata << q;
CLK = 1;
delay(30);
CLK = 0;
if(SI)
shiftdata= shiftdata + 1;
}
}