Hi UKHeliBob, thanks for the reply.
How much do you already know ?
well, It is my first time controlling the led strip with arduino. As far as I know it runs by clock and data with byte to set when and what color to turn ON.
this is what I've done so far:
//create arrays
int RED[60];
int GREEN[60];
int BLUE[60];
//
//pin map
int clockpin = 2;
int datapin = 3;
//
//setup code
void setup()
{
pinMode(clockpin, OUTPUT);
pinMode(datapin, OUTPUT);
for (int i=0;i<60;i++)
{
BLUE[i]=0;
RED[i]=0;
GREEN[i]=0;
}
}
//
void updatestring()
{
for(int i=0;i<60;i++)
{
shiftOut(datapin, clockpin, MSBFIRST, BLUE[i]);
shiftOut(datapin, clockpin, MSBFIRST, RED[i]);
shiftOut(datapin, clockpin, MSBFIRST, GREEN[i]);
}
}
//
void loop()
{
for(int i=0;i<30;i++)
{
BLUE[i]=0;
RED[i]=255;
GREEN[i]=0;
updatestring();
//BLUE[i]=0;
//RED[i]=0;
//GREEN[i]=0;
delay(1);
}
for(int i=29;i>=0;i--)
{
BLUE[i]=0;
RED[i]=0;
GREEN[i]=0;
updatestring();
BLUE[i]=0;
RED[i]=0;
GREEN[i]=0;
delay(1);
}
for(int i=59;i>=30;i--)
{
BLUE[i]=255;
RED[i]=0;
GREEN[i]=0;
updatestring();
//BLUE[i]=0;
//RED[i]=0;
//GREEN[i]=0;
delay(1);
}
for(int i=30;i<60;i++)
{
BLUE[i]=0;
RED[i]=0;
GREEN[i]=0;
updatestring();
//BLUE[i]=0;
//RED[i]=0;
//GREEN[i]=0;
delay(1);
}
}
the result is the reds running forward and backward from 1st LED to 30th LED, then blues running forward and back ward from 30th LED to 60th LED.
next step, I tried to make those two reds and blues running in the same time. Also the other things, instead of running , I'd like to make it to turn reds ON together at once then OFF.
Can you read the state of an input pin and act on its value, for instance ?
No I can't. I don't know how to do it. Which input pin do you mean? from Arduino sides or the strip sides?
Do you know how to turn on an individual LED in the strip with a colour of your choice ?
I know how to set what colour I want, but to turn an individual LED in the strip, that's also my question. 
Do you understand how the BlinkWithoutDelay example works and why it does not use the delay() function ?
I use it a lot with my other projects, but I don't know how to use it here. In one state, I might use it.