Skip to content

Add Kwargs to Set_Color

Compare
Choose a tag to compare
@brentru brentru released this 20 May 19:19
de95ad3
  • Modified set_color to take in kwargs instead of predefined arguments, exposing more of LIFX's API functionality.
    • Check out the example for more usage information
  • Removing lines containing redefinitions of path in favor of including the path directly in the HTTP request

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lifx.

Read the docs for info on how to use it.