Hi, I have a small problem with the function of FASTLED library with a

Hi, I have a small problem with the function of FASTLED library with a pir.
https://codebender.cc/sketch:364362

When I put the code one line 41, Its running perfectly. I have decide to move line 43 or 46 after the pir is HIGH.

It is showing only one pixel, so I had to wait every time the Serial.println(“THE END”) to add each the pixel.

Anyone does know what cause is that?