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

    Core2 : Turn off the backlight

    Core 2
    2
    2
    302
    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.
    • I
      IndianaTux
      last edited by

      Is there a way to turn off the backlight on the Core 2 ? (using the Arduino API or other)

      kurikoK 1 Reply Last reply Reply Quote 0
      • kurikoK
        kuriko @IndianaTux
        last edited by

        @IndianaTux
        this works on my CoreS3, directly turns off LDO2

        #include <M5CoreS3.h>
        #include <Wire.h>
        
        void setup() {
          // put your setup code here, to run once:
          Wire1.beginTransmission(0x34);
          Wire1.write(0x12);
          Wire1.write(0b01001011);  // LDO2, aka OLED_VDD, off
          Wire1.endTransmission();
        }
        

        Good morning, and welcome to the Black Mesa Transit System.

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