🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    atom matrix, wrong number of leds.

    Atom
    2
    2
    2.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      benalb
      last edited by

      With this code:

      #include <M5Atom.h>
      
      void setup(){
             M5.begin(true, false, true);    //Initialize M5Atom. 
             delay(50);   //Delayed 50ms. 
             M5.dis.fillpix(0xFFFFFF);
             delay(10000);
             M5.dis.clear();
      }
      
      void loop(){
      }
      

      I've got 24 leds on, the last one off , but if I change the
      #define NUM_LEDS 25 to 26 in
      .pio/libdeps/m5stack-atom/M5Atom/src/utility/LED_DisPlay.h
      I've got 25 leds on
      Is it a known bug in the atom lib?

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        It may be. It sound like the address system has changed as they should have been 0-24 for a total of 25 leds

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post