google / OctoPrint-LEDStripControl

OctoPrint plugin that intercepts M150 GCode commands and controls local GPIOs connected to LEDs.
Apache License 2.0
64 stars 50 forks source link

Just a simple white LED strip #25

Closed Pyr3x closed 5 years ago

Pyr3x commented 5 years ago

Any chance we can get a small update to just turn a simple white LED strip on and off? Thank You!

precision commented 5 years ago

You should be able to use it as is with white only strips. If you only define the GPIO pin for White and use 'M150 W' to turn it on it should work fine.

Pyr3x commented 5 years ago

So I tried it but when I check turn on LED at startup they remain off, only when I uncheck it are they on.

precision commented 5 years ago

That sounds like your strip/mosfet is NC vs NO. You may need to change the pins on the mosfet.