Page 1 of 1

MH-ET live 38 endless reset

Posted: Thu Feb 29, 2024 7:42 am
by garazh317
Hi All,

Sorry for the noob question. I have the subj and simple code run 2 seven segments displays with the sevseg library. The code is below, when both display code is uncommented thee board goes to endless power reset. rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT). When I have only one ANY display and the second is commented - the board works perfectly well. I concerned about some PINS conflict, but don't have enough knowledge to find the issue. Please explain me what I'm doing wrong?

[Codebox]
#include <SevSeg.h>
SevSeg sevsegW;
SevSeg sevsegE;

void setup() {
Serial.begin(115200);
Serial.println();
byte numDigits = 1;
byte digitPins[] = {};
byte segmentPins1[] = {25, 26, 19, 21, 22, 32, 33, 4};
bool resistorsOnSegments = false;
byte hardwareConfig = COMMON_CATHODE;
bool updateWithDelays = false;
bool disableDecPoint = true;
bool leadingZeros = false;
sevsegW.begin(hardwareConfig, numDigits, digitPins, segmentPins1, resistorsOnSegments, updateWithDelays, leadingZeros, disableDecPoint);
sevsegW.setBrightness(90);
//ERRORS 7 SEGMENT
byte segmentPins2[] = {12, 13, 15, 5, 18, 27, 14, 2};
sevsegE.begin(hardwareConfig, numDigits, digitPins, segmentPins2, resistorsOnSegments, updateWithDelays, leadingZeros, disableDecPoint);
sevsegE.setBrightness(90);
}

void loop() {
sevsegW.setNumber(1);
sevsegW.refreshDisplay();
sevsegE.setNumber(2);
sevsegE.refreshDisplay();
}
[/Codebox]

Re: MH-ET live 38 endless reset

Posted: Fri Mar 01, 2024 6:38 pm
by ves011
Looks like brownout detector triggered.
Maybe the power supply of your board dosen't provide enough current.