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

Thread: APA102 8x32 matrix and text

  1. #1

    APA102 8x32 matrix and text

    Hello,
    I start a project using an APA102 8x32 led matrix +teensy and prop shield.
    I would like to display some text.
    I started with a library from adafruit and would like something faster.
    It uses :
    Code:
    #include <SPI.h>
    #include <Adafruit_GFX.h>
    #include <Adafruit_DotStarMatrix.h>
    #include <Adafruit_DotStar.h>
    ...
    #define DATAPIN  11
    #define CLOCKPIN 13
    #define LED_EN 7
    ...
    Adafruit_DotStarMatrix matrix = Adafruit_DotStarMatrix(
      32, 8, DATAPIN, CLOCKPIN,
      DS_MATRIX_TOP     + DS_MATRIX_LEFT +
      DS_MATRIX_COLUMNS + DS_MATRIX_ZIGZAG,
      DOTSTAR_BRG);
    ...
      matrix.print(F("hello"));
    ...
      matrix.show();
    ...
    The show() function takes about 8ms.

    Then I tried Blink example of fastled library and it works faster. Now I am looking for the most appropriate matrix layer software. Should I keep part of adafruit example ?
    Is the smartMatrix library designed for that or for the specific hardware ?

    Thanks in advance and best regards,
    Vincent

  2. #2
    I see WS2812 seems more used here than APA102. Is the answer easier if I have WS2812 ?
    Is one chip more reliable ?
    Thanx

  3. #3

  4. #4
    LEDtext from aaron sounds good for me
    https://github.com/AaronLiddiment
    regards

  5. #5
    Senior Member
    Join Date
    Aug 2014
    Posts
    165
    No way**APA102s are wayyyyyyyy faster thann WS2812.

    Quote Originally Posted by Vincenet View Post
    I see WS2812 seems more used here than APA102. Is the answer easier if I have WS2812 ?
    Is one chip more reliable ?
    Thanx

Posting Permissions

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