New M950 "E" Parameter: usable for standard 2 pin LEDs as well?
-
I want to connect a standard 2 pin LED strip to the Duet 6HC, basically the same procedure as here in the forum: https://forum.duet3d.com/topic/29925/setting-up-led-strip-on-6hc-board
Now I just found that there is a new "E" parameter for M950 for LEDs. While this is not mentioned explicitly, the text about the corresponding "T" parameters suggests that this parameter seems to be exclusively for Dotstar or Neopixel LEDs and will not be suitable for a standard 2-pin LED strip - which then means that these have to be handled and will probably show up in DWC as "fans" since they are obviously not thermostatically controlled.
Is my assumption correct? It simply would be nice to be able to define the LEDs as what they are, hence the question -
-
@NeoDue I'd suggest using a P type in M950 for your LEDs and setting the brightness/output state using M42
-
@gloomyandy Sometimes it is so simple
Thanks a lot for pointing me into the right direction! -
-
@NeoDue Note that the M950 E and T parameters for LEDs is currently only in the 'TeamGloomy' fork of RepRapFirmware, not in the main branch for Duet boards. It should be coming in the next beta, though.
Ian
-
@droftarts Thanks!
A suggestion though, if I may: In order to keep others from running in the wrong direction, I would like to suggest to clarify the M950 documentation a little by changing the text for the "E" parameter from "LED strip number" to "DotStar/Neopixel LED strip number (for standard LEDs or LED strips use the "P" parameter together with M42)"