Mark and Daniel Can you use fastled to drive a DMX controller?

Mark and Daniel
Can you use fastled to drive a DMX controller?

Do you have any examples?

Thanks
Greg

Yes, should be able to do that (if I understand correctly that you’re wanting to send DMX out from the MCU). I don’t have any specific examples, but here’s some tips:
You need to include the DMX Simple library before including the FastLED library, so like this at the top of your .ino file:

#include <DmxSimple.h> //needs to go before FastLED.h
#include <FastLED.h>

And similar to doing an addLeds for a specific chipset (ie. APA102, LPD8806, etc), you use DMXSIMPLE like this:

LEDS.addLeds<DMXSIMPLE, DATA_PIN, RGB>(leds, NUM_LEDS);

Have a look at this post also:
https://plus.google.com/106461657512143768817/posts/fEbfHM3ufSX

@Jason_Coon Didn’t you do a project a while back that used DMX? Was that reading or sending DMX?

Yeah, I used FastLED and DmxSimple to drive BlinkyTiles. The LEDs are actually WS2822S, which speak DMX and are wired in parallel rather than serial: https://github.com/jasoncoon/BlinkyTileFastLED

Thanks everyone for your help!