esp32 : Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1). Core 1…
- User
esp32 : Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1).
Core 1 register dump: PC : 0x4008aa4e PS : 0x00060b35 A0 : 0x800899c6 A1 : 0x3ffbf13c
A2 : 0x3ffb8a00 A3 : 0x3ffb8890 A4 : 0x00000004 A5 : 0x00060b23
A6 : 0x00060b23 A7 : 0x00000001 A8 : 0x3ffb8890 A9 : 0x00000018 - Assistant
- User
i connect pin2 of esp32 dev module for interput in get this error
- Assistant
- User
i use this arduino code for esp32 and when intterput tell me error. #include <SPI.h> #include <LoRa.h>
#ifdef ARDUINO_SAMD_MKRWAN1300 #error "This example is not compatible with the Arduino MKR WAN 1300 board!" #endif
#define ss 16 #define rst 4 #define dio0 17
void setup() { Serial.begin(9600); while (!Serial);
Serial.println("LoRa Receiver Callback"); LoRa.setPins(ss, rst, dio0); if (!LoRa.begin(433E6)) { Serial.println("Starting LoRa failed!"); while (1); }
// Uncomment the next line to disable the default AGC and set LNA gain, values between 1 - 6 are supported // LoRa.setGain(6);
// register the receive callback LoRa.onReceive(onReceive);
// put the radio into receive mode LoRa.receive(); }
void loop() { // do nothing }
void onReceive(int packetSize) { // received a packet Serial.print("Received packet '");
// read packet for (int i = 0; i < packetSize; i++) { Serial.print((char)LoRa.read()); }
// print RSSI of packet Serial.print("' with RSSI "); Serial.println(LoRa.packetRssi()); }
- Assistant