Blynk Neopixel "Shut Down" button / Photon Particle

Hey Fellow People,

im slowly understanding arduino & the benefits of Blynk.
But I´m stuck at one point, where I want to shut off my Led´Stripes.

Do you know, how i could turn the neopixels off with a virtual pin ?
Right now, I can change the color with the Zebra function…

// This #include statement was automatically added by the Particle IDE.
#include <neopixel.h>

// This #include statement was automatically added by the Particle IDE.
#include <blynk.h>

#define PIXEL_PIN D0
#define PIXEL_COUNT 28
#define PIXEL_TYPE WS2812

Adafruit_NeoPixel strip = Adafruit_NeoPixel(PIXEL_COUNT, PIXEL_PIN, PIXEL_TYPE);

char auth = “ce97191513ee4dca923f7c7efd9176b0”;

void setup()

pinMode(0, OUTPUT);
pinMode(1, OUTPUT);
analogWrite(0, 255);
analogWrite(1, 255);



int shift = param.asInt();
for (int i = 0; i < strip.numPixels(); i++)
strip.setPixelColor(i, Wheel(shift & 255));
// OR: strip.setPixelColor(i, Wheel(((i * 256 / strip.numPixels()) + shift) & 255));

void loop()


uint32_t Wheel(byte WheelPos) {
if(WheelPos < 85) {
return strip.Color(WheelPos * 3, 255 - WheelPos * 3, 0);
} else if(WheelPos < 170) {
WheelPos -= 85;
return strip.Color(255 - WheelPos * 3, 0, WheelPos * 3);
} else {
WheelPos -= 170;
return strip.Color(0, WheelPos * 3, 255 - WheelPos * 3);

Thanks in advance & happy evening!

Please use code tags (</> button on the toolbar) instead of quote tags when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. Using code tags and other important information is explained in the How to use this forum post. Please read it.

@Jamminben it's been a while since you started this thread. But I just wanted to share another app that you can use to control your neopixels. It's called Spark Pixels, it is only available for Android. The app is free and it allows you to select different modes/sequences, speed, and brightness all through WiFi!
Check out the app here:
And the accompanying firmware/sketch and additional info here: GitHub - sparcules/Spark_Pixels: Another Neopixel project driven by the Spark Core