amorphitec / opengb

3d printer controller with touchscreen interface and websocket API
http://opengb.readthedocs.org/
Other
12 stars 4 forks source link

Control RGB LED lighting #8

Open amorphic opened 8 years ago

amorphic commented 8 years ago

As a user I would like to control my printer's RGB LED lighting.

amorphic commented 8 years ago

For most firmwares we can control GPIO output pins using M42. Using simple on/off with RGB gives us 7 possible colors: R, G, B, C, M, Y, W, B.

Implement this as a set_lighting() with an argument color and valid values: red, green, blue, cyan, magenta, yellow, white, black

amorphic commented 8 years ago

This might be a good opportunity to create a plugin system.

Plugins which require frontend changes could do so via Vue.js components which are loaded dynamically.