🤖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.

    Scheduled Pinned Locked Moved Atom
    2 Posts 2 Posters 3.5k Views
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post