M5Core2 icon indicating copy to clipboard operation
M5Core2 copied to clipboard

All LEDs turning on

Open capedra opened this issue 1 year ago • 2 comments

I've been using M5Stack Core2 AWS and after it's been running for several hours, all the Neopixel LEDs turns on without any commands for controlling them and they also even change colors whenever I press some keys on the screen. Also, M5.Axp.SetPeripherialsPower(false); // Turn off all external peripherials (5V power) doesn't seem to turn them off and I can only turn them off using FastLED library by putting:

  FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS); // GRB ordering is assumed
  FastLED.setBrightness(0);
  leds[0] = CRGB::Black;
  leds[1] = CRGB::Black;
  leds[2] = CRGB::Black;
  leds[3] = CRGB::Black;
  leds[4] = CRGB::Black;
  leds[5] = CRGB::Black;
  leds[6] = CRGB::Black;
  leds[7] = CRGB::Black;
  leds[8] = CRGB::Black;
  leds[9] = CRGB::Black;
  FastLED.show();

How may I find out what's going on? Please help. Thanks!

capedra avatar Apr 21 '23 09:04 capedra