Forum Rule: Always post complete source code & details to reproduce any issue!
-
OctoWS2811 command reference
Hi I'm just starting out with the Teensy and the OctoWS2811 library.
Is there somewhere or a method of finding a list of commands this library provides?
Cheers
Sina
love the teensy.
-
-

Originally Posted by
nlecaude
Thanks for your quick reply nlecaude,
but I found makeColor(hue, saturation, brightness) in the rainbow example, is this an OctoWS2811 command?
If so how is it possible to know the functions in this or a library in general?
-
Senior Member

Originally Posted by
sinzad
but I found makeColor(hue, saturation, brightness) in the rainbow example, is this an OctoWS2811 command?
makeColor is simply part of the rainbow example.
If so how is it possible to know the functions in this
Well, you could read the web page. Scroll down to "Basic Usage", where the library functions are documented.
http://www.pjrc.com/teensy/td_libs_OctoWS2811.html
If you don't believe the documentation, you could read the file OctoWS2811.h. Simply look at the functions defined in the "public" section. You'll see there are a couple other little functions not mentioned in the documentation, but they're really trivial stuff.
In general, read the source code!
-
Thank you, great to know about the OctoWS2811.h file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules