GithubHelp home page GithubHelp logo

test-mass-forker-org-1 / octoprint-ledstripcontrol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/octoprint-ledstripcontrol

0.0 0.0 0.0 33 KB

OctoPrint plugin that intercepts M150 GCode commands and controls local GPIOs connected to LEDs.

License: Apache License 2.0

Python 81.13% HTML 18.87%

octoprint-ledstripcontrol's Introduction

OctoPrint-LEDStripControl

OctoPrint Plugin that intercepts M150 GCode commands and controls local GPIOs accordingly.

Implements the M150 command syntax from the latest Marlin.

    M150: Set Status LED Color - Use R-U-B for R-G-B Optional (W)
    M150 R255       ; Turn LED red
    M150 R255 U127  ; Turn LED orange (PWM only)
    M150            ; Turn LED off
    M150 R U B      ; Turn LED white
    M150 W          ; Turn LED white if using RGBW strips (optional)

Setup

  1. Make sure that the OctoPrint user is in the gpio group via the following command.

     usermod -a -G gpio pi
    
  2. Install via the bundled Plugin Manager or manually using this URL:

     https://github.com/google/OctoPrint-LEDStripControl/archive/master.zip
    
  3. Restart OctoPrint

Configuration

NOTE: GPIO pins should be specified as physical number and not BCM number.

Configure the GPIO pins via the OctoPrint settings UI.

Disclaimer

This is not an official Google product.

octoprint-ledstripcontrol's People

Contributors

precision avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.