# PL9823 How to control them?

**URL:** <https://community.particle.io/t/pl9823-how-to-control-them/22016>\
**Category:** Libraries\
**Created:** [April 11, 2016, 10:29pm UTC](https://community.particle.io/t/pl9823-how-to-control-them/22016 "2016-04-11T22:29:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fotoKrille](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/fotokrille/32/8358_2.png) [@fotoKrille](https://community.particle.io/u/fotoKrille)\
**Post date:** [April 11, 2016, 10:29pm UTC](https://community.particle.io/t/pl9823-how-to-control-them/22016/1 "2016-04-11T22:29:58Z")

</div>

I have now 200 of this LED [PL9823 F8](http://www.ebay.com/itm/151842150521). Some site says that it works with the FastLED and other NeoPixel WS2812. I have tryed them all but nothing works. So any ides what to do?

---

<div class="post-metadata">

**Author:** ![fotoKrille](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/fotokrille/32/8358_2.png) [@fotoKrille](https://community.particle.io/u/fotoKrille)\
**Post date:** [April 11, 2016, 11:03pm UTC](https://community.particle.io/t/pl9823-how-to-control-them/22016/2 "2016-04-11T23:03:35Z")

</div>

Well if i connect the PIN to DO Not the DI then it almost works. I think the color is reversed or something RGB -\> GBR?! And the last one is not doing what the other are doing.

```
#include "application.h"
#include "neopixel/neopixel.h"

SYSTEM_MODE(AUTOMATIC);

// IMPORTANT: Set pixel COUNT, PIN and TYPE
#define PIXEL_PIN D2
#define PIXEL_COUNT 3
#define PIXEL_TYPE WS2812

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

void setup()
{
  strip.begin();
  strip.show(); // Initialize all pixels to 'off'
}
void loop()
{
    strip.setPixelColor(0, 255, 0, 0);
    strip.setPixelColor(1, 255, 0, 0);
    strip.setPixelColor(2, 255, 0, 0);

    strip.show();
    delay(250);
    strip.setPixelColor(0, 0, 0, 255);
    strip.setPixelColor(1, 0, 0, 255);
    strip.setPixelColor(2, 0, 0, 255);

    strip.show();
    delay(250);
}
```

---

<div class="post-metadata">

**Author:** ![caravlho2707](https://avatars.discourse-cdn.com/v4/letter/c/e99b99/32.png) [@caravlho2707](https://community.particle.io/u/caravlho2707)\
**Post date:** [August 23, 2016, 11:28am UTC](https://community.particle.io/t/pl9823-how-to-control-them/22016/3 "2016-08-23T11:28:04Z")

</div>

Can you please post here an image detailing your connections? I’m trying to do the same but i dont know how to build this.
