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

    Problem with RGB led bar for M5stack core 2

    Scheduled Pinned Locked Moved Core2 for AWS
    3 Posts 3 Posters 7.0k Views 2 Watching
    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.
    • V Offline
      vgamlc
      last edited by

      Could someone help me with some example on how to control the RGB led bar for m5stack core 2, I am new to this.
      Thanks in advance.

      OyczEO 1 Reply Last reply Reply Quote 0
      • OyczEO Offline
        OyczE @vgamlc
        last edited by

        @vgamlc check this one, so far my Core2 + bottom2 fail big time ..
        https://forum.m5stack.com/topic/2663/core2-uiflow-bottom2-support/6

        1 Reply Last reply Reply Quote 0
        • R Offline
          rashedtalukder
          last edited by rashedtalukder

          @vgamlc, can you describe what you are wanting to see?

          The Sk6812 (side LED bars) has a few methods you can use (take a look at components/core2forAWS/core2forAWS.h from one of the projects):
          void Core2ForAWS_Sk6812_SetColor(uint16_t pos, uint32_t color);
          void Core2ForAWS_Sk6812_SetSideColor(uint8_t side, uint32_t color);
          void Core2ForAWS_Sk6812_SetBrightness(uint8_t brightness);
          void Core2ForAWS_Sk6812_Show();
          void Core2ForAWS_Sk6812_Clear();

          If I want to set the left LED bar to yellow example, you should put the following into your application:

          Core2ForAWS_Sk6812_SetSideColor(SK6812_SIDE_LEFT, 0xFFFF00);
          Core2ForAWS_Sk6812_Show();
          

          Head of the AWS IoT EduKit program and AWS employee. Not an M5Stack employee.

          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