Forum Rule: Always post complete source code & details to reproduce any issue!
Page 3 of 3 FirstFirst 1 2 3
Results 51 to 55 of 55

Thread: OctoWS2811 POV reading BMP from SD card

  1. #51
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    2,992
    Quote Originally Posted by mortonkopf View Post

    if you already have this code, try putting this line just below your includes:

    Code:
    unsigned int Color(byte b, byte g, byte r)
    That line is missing the ending semicolon. That line should be:

    Code:
    unsigned int Color(byte b, byte g, byte r);

  2. #52
    Senior Member mortonkopf's Avatar
    Join Date
    Apr 2013
    Location
    London, uk
    Posts
    898
    Good Catch MM

  3. #53
    can OctoWS2811 Lib run APA102 Leds or do we have to convert it, Id like to have the code running on those type of LEDs sofar. been using the Teensy 3.5 ant wanting to know what alteration to the code have to be done

    https://forum.pjrc.com/threads/24535...P-from-SD-card

  4. #54
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    2,992

    Cool

    Quote Originally Posted by synersignart View Post
    can OctoWS2811 Lib run APA102 Leds or do we have to convert it, Id like to have the code running on those type of LEDs sofar. been using the Teensy 3.5 ant wanting to know what alteration to the code have to be done
    The OctoWS2811 library only handles WS2812 (aka what Adafruit calls neopixel) LEDs.

    If you wanted to use APA102 LEDs, you could use the Octows2811 board to provide the infrastructure, but you would need to use something else to drive the LEDs. I believe the FastLed library might be able to drive the APA102's in parallel, but I've never used it.

    You would need to use 4 parallel sets of APA102 LEDs since WS2812 LEDs only have one data pin and the clock is done at fixed intervals, APA102 LEDs have both a data and a clock pin, so you would need to use two wires for each strand, hence only 4 parallel rows instead of 8.

  5. #55
    Senior Member mortonkopf's Avatar
    Join Date
    Apr 2013
    Location
    London, uk
    Posts
    898
    hi, have a read of Po Ting work using APA102 reading from SD Card for POV. its at the end of the thread here: https://forum.pjrc.com/threads/53088...-POV-v2-0-80HD

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •