63 + (
NXLight *)binaryWithPin:(uint8_t)pin;
69 + (
NXLight *)pwmWithPin:(uint8_t)pin;
82 + (
NXLight *)rgbWithRedPin:(uint8_t)red
83 greenPin:(uint8_t)green
85 inverted:(
BOOL)inverted;
112 - (void)setBoolValue:(
BOOL)value;
117 - (void)setBoolValue:(
BOOL)value atIndex:(size_t)index;
123 - (void)setBrightness:(
float)brightness;
128 - (void)setBrightness:(
float)brightness atIndex:(size_t)index;
134 - (void)setColor:(
NXColor *)color;
139 - (void)setColor:(
NXColor *)color atIndex:(size_t)index;
154 - (
BOOL)blinkWithInterval:(
NXDuration)interval repeats:(
BOOL)repeats atIndex:(
size_t)index;
An LED, or a chain of NeoPixels, which is turned on and off, dimmed, colored, or blinked.
int64_t NXDuration
A length of time, in nanoseconds, which may be negative.
Foundation framework header.
bool BOOL
A Boolean value.
const char * name()
Returns the name of the class.
void clear()
Turns it off, or every LED of a chain, and stops a blink.
The base class for objects in the Foundation framework.
A color: red, green and blue, with an opacity.
size_t count()
Returns the number of LEDs, which is more than 1 for a chain of NeoPixels.