Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: OctoWS2811 command reference

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    3

    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.

  2. #2
    Senior Member
    Join Date
    Jun 2013
    Location
    Montréal
    Posts
    467

  3. #3
    Junior Member
    Join Date
    Apr 2014
    Posts
    3
    Quote Originally Posted by nlecaude View Post
    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?

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    23,382
    Quote Originally Posted by sinzad View Post
    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.

    or a library in general?
    In general, read the source code!

  5. #5
    Junior Member
    Join Date
    Apr 2014
    Posts
    3
    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
  •