thannara123
Advanced Member level 5
- Joined
- Jan 7, 2010
- Messages
- 1,602
- Helped
- 122
- Reputation
- 244
- Reaction score
- 116
- Trophy points
- 1,353
- Activity points
- 10,640
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;
}
}