NativeLEDStrip

interface NativeLEDStrip

Interface defining what is needed from a native LED strip class.

A native LED strip class bridges the gap between this library and the actual strip, whether that is through another library or directly.

Inheritors

Properties

Link copied to clipboard
abstract val numLEDs: Int

The number of LEDs in the strip

Functions

Link copied to clipboard
abstract fun close()

Close the LED strip's communication channel and release memory associated with it

Link copied to clipboard
abstract fun render()

Send data to the LED strip

Link copied to clipboard
abstract fun setPixelColor(pixel: Int, color: Int)

Set a pixel's color