Report Bugs Here

Moderator: Mmiscool

User avatar
By heckler
#46110 Mike could you clarify the neopixel documentation...
NEO.CLS():
Will turn off all the leds on the strip.
neocls()

NEO.STRIPCOLOR():
Will set a range of leds to the desired color.
neostripcolor({start pixel},{end pixel},{R},{G},B})


which is it??
neo.stripcolor vs neostripcolor
neo.cls vs neocls

also how to define the pin for neopixels with the esp8266-01??
User avatar
By Mmiscool
#46112 It looks like i missed the new neo.setup() function.

I just modified the help file.

The the periods were added to the functions in the interpreter for consistency but the old function names will still work.

NEO.SETUP():
Will configure the output pin to one other than the default.
neosetup({pin NO})

NEO():
Will set the desired pixel led to the color specified with an RGB (Red, Green, Blue) value.
neo({LED NO},{R},{G},{B})


NEO.CLS():
Will turn off all the leds on the strip.
neocls()
NEO.STRIPCOLOR():
Will set a range of leds to the desired color.
neostripcolor({start pixel},{end pixel},{R},{G},B})