How to resolve board restarting issue on LilyGO TTGO LoRa32 (T3 V1.6.1)?

Hii , I have a problem with my LilyGO TTGO OLED LoRa32 board. Board reference: T3 V1.6.1 Pinout:
attachment 0
1 Reply
Camila_99$$
Camila_99$$5mo ago
My board keeps restarting. I think it's a library issue, but I can't figure it out. I say this because the code was working fine until I changed computers and reloaded the code. Here is the serial monitor output:
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1288
load:0x40078000,len:13872
load:0x40080400,len:4
ho 8 tail 4 room 4
load:0x40080404,len:3048
entry 0x40080590
ets Jun 8 2016 00:22:57
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1288
load:0x40078000,len:13872
load:0x40080400,len:4
ho 8 tail 4 room 4
load:0x40080404,len:3048
entry 0x40080590
ets Jun 8 2016 00:22:57
I downloaded the following code, and it works fine. I have no restarts with this code:
//words preceded by "//" are comments and are not executed
bool ticktock; //declare ticktock as a boolean flag

void setup() { //runs once on start up
Serial.begin(115200); //open the serial port for USB cable
delay(500);
}

void loop() { //runs in circles!
ticktock = !ticktock; //every pass through reverse the flag
if (ticktock) { //test current value of the ticktock flag
Serial.println("tick");
} else { //prints one or the other to the USB port
Serial.println("tock");
}
delay(1000); //wait for a second and run again!
}
//words preceded by "//" are comments and are not executed
bool ticktock; //declare ticktock as a boolean flag

void setup() { //runs once on start up
Serial.begin(115200); //open the serial port for USB cable
delay(500);
}

void loop() { //runs in circles!
ticktock = !ticktock; //every pass through reverse the flag
if (ticktock) { //test current value of the ticktock flag
Serial.println("tick");
} else { //prints one or the other to the USB port
Serial.println("tock");
}
delay(1000); //wait for a second and run again!
}
However, with the code from this site: TTGO LoRa32 SX1276 OLED with Arduino IDE | Random Nerd Tutorials 3, the board keeps restarting, just like with my code. Can someone help me, please?
Want results from more Discord servers?
Add your server