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

    Multi Version M5StickC

    M5 Stick/StickC
    2
    2
    2.8k
    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.
    • J
      juan
      last edited by

      Hello Everyone.
      I have a problema with the M5StickC new version. I tried to used M5.Axp.ScreenBreath on old version M5StickC and its works but this instruction not works with the new version.
      the "Only change" between versions its accelerometer circuit ( New version: MPU6886, Old version SH200Q ).
      Maybe anyone have the same problem or know what is the the diference between version?

      1 Reply Last reply Reply Quote 0
      • hagueH
        hague
        last edited by

        Hi,
        What exactly happens, when you say "instruction not works"? Does your code compile but the screen brightness doesn't change?

        Have you tested other AXP function like the Battery status:

          char text_buffer[32]; 
          M5.Lcd.fillScreen(TFT_BLACK);
          M5.Lcd.drawCentreString("Battery status:", 80, 20, 2);
          snprintf(text_buffer, sizeof(text_buffer), "%.2fV  ---  %.2fmA", M5.Axp.GetBatVoltage(), M5.Axp.GetBatCurrent());
          M5.Lcd.drawCentreString(text_buffer, 80, 40, 2);
        

        Is that working?

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