how do I use sk9822 pixels with fast led?

how do I use sk9822 pixels with fast led? I dont see anything in the doc’s about this. I guess my googlefu isnt strong enough.

They are the same as APA102

You can define them as SK9822, the docs must be behind, they are fully supported and my favorite chipset. I normally drive them at 12Mhz but they can go faster depending on your wiring etc.

#define LED_TYPE SK9822
#define COLOR_ORDER BGR
#define DATA_PIN 4
#define CLK_PIN 5
#define NUM_LEDS 74

FastLED.addLeds<LED_TYPE, DATA_PIN, CLK_PIN, COLOR_ORDER, DATA_RATE_MHZ(12)>(leds, NUM_LEDS);

okay, I tried typing SK9822 and the arduino ide didnt highlight it like it does for other chipsets… so I wasnt sure. thanks the strip will arrive tues or Wednesday

@Keith_Miller , they work really well, don’t worry

@Jeremy_Spencer I hope so, I’m putting them in a costume with animatronic wings, wings are currently controlled by a parallax propeller serial servo controller with custom code. I’d like to remove that and switch to a teensy driving the servos and eventually the leds… I want to test it before I put it in the costume. I’m prolly going to power the whole thing with lifepo4 cells. (safer than standard lipo) with some fuses an stuff. prolly a BMS too. havent figured out how many cells as of yet. I’m thinking 2 cells for the servos. (6.6v) and 3 or 4 cells for the teensy and led strips

Check out this, if you haven’t seen it…
Look for this heading “Getting four hardware SPI lines for the APA102 out of the Teensy 3.0/3.1/3.2”

@Jeremy_Spencer I’ll look, as of this moment I’m running on a t3.6

@Keith_Miller Not sure if it works on a 3.6, not tried it yet… Works great on a 3.2

@Jeremy_Spencer well as of right now not sure how many leds I’m going to put in the costume anyway, 144/m strips will prolly be too many, trying 60/m ones first. also want to get some tiny servos for testing. need to controll 6 servos and the leds, plus accept commands from either some buttons or a wireless controller

It probably also worth conidering an ESP32… Dual core and built in WiFi…
BLE funxtionality is still in early development. Or add an ESP8266 for cummunication.

Also you don’t normally need level shifters with SK9822s or a voltage booster, they’ll run straight off a LiPo style battery.

@Jeremy_Spencer well I was using the teensy 3.6 cause I have one on hand, (and a 3.1) dont have any esp32’s yet, I think I have 2 esp8266’s though…
but yeah gonna go with the teensys for now.

also whats the best way to update the teensyduino copy of fastled to 3.1.8? It comes with 3.1.6 and I copied the 3.1.8 file over the one in the one in the hardware/avr dir. and it still says 3.1.6 when compiling.

Download and extract it to your Arduino/libraries folder. The IDE should then default to the correct copy. If it doesn’t, delete the other ones.