numrows was not declared some please help me

I can not figure out this error please help. im a newbie

GalaxyTranslate_Beta_error.ino (34.8 KB)

At the top of the skretch you declare the numCols variable, but not the numRows variable.

const byte numCols = 8; //Eight columns
const int debounceTime = 100;//20 works better than great !
//define the cymbols on the buttons of the keypads
char keymap[numRows][numCols] = {

YOU ARE AWESOME!! that fixed it thanks

when i run the code it is doing this in the seerial monitor. any suggestions

Rebooting... a,⸮zY ⸮nb⸮o⸮⸮⸮G⸮Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. Core 1 register dump: PC : 0x40080f75 PS : 0x00060130 A0 : 0x800d0d66 A1 : 0x3ffb1f60 A2 : 0x00000007 A3 : 0x00000002 A4 : 0x0800001c A5 : 0x00000003 A6 : 0x00000001 A7 : 0x00000000 A8 : 0x3f405584 A9 : 0xffffffff A10 : 0xff030000 A11 : 0x00000064 A12 : 0x08000000 A13 : 0x00000003 A14 : 0xffffffff A15 : 0x00000000 SAR : 0x0000001a EXCCAUSE: 0x0000001c EXCVADDR: 0xff030000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000

Backtrace: 0x40080f75:0x3ffb1f60 0x400d0d63:0x3ffb1f80 0x400d1e32:0x3ffb1fb0 0x40088215:0x3ffb1fd0

Rebooting... *F⸮⸮⸮'⸮⸮⸮⸮!XX⸮ ⸮Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Post your code.

see attach

GalaxyTranslate_Beta_error.ino (34.8 KB)

My best guess is that somewhere in your code you are writing outside the bounds of an array (stepping on memory that you do not "own") and that causes a reset.

Which Arduino are you using?

justi5154:
see attach

It would have been polite to NOT include all the code in the massive comment.

What’s this

void reset()
{
  Serial.begin(9600);
  for (int x = 27; x <=38; x++){
    if(x>=23 && x<=24){}
      //Nothing
    else
      delay(100);
    pinMode(x, OUTPUT);
    digitalWrite(22, HIGH);
    digitalWrite(3, LOW);
    digitalWrite(4, LOW);
    digitalWrite(5, LOW);
    digitalWrite(6, LOW);
    digitalWrite(7, LOW);
    digitalWrite(8, LOW);
    digitalWrite(9, LOW);    
  } 
}

serial monitor going crazy please help. Its showing this on repeat

Backtrace: 0x40080f75:0x3ffb1f60 0x400d0d63:0x3ffb1f80 0x400d1dfa:0x3ffb1fb0 0x40088215:0x3ffb1fd0

Rebooting…
aA⸮Z3
⸮e<H⸮;⸮Guru Meditation Error: Core 1 panic’ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x40080f75 PS : 0x00060130 A0 : 0x800d0d66 A1 : 0x3ffb1f60
A2 : 0x00000007 A3 : 0x00000002 A4 : 0x0800001c A5 : 0x00000003
A6 : 0x00000001 A7 : 0x00000000 A8 : 0x3f405584 A9 : 0xffffffff
A10 : 0xff030000 A11 : 0x00000064 A12 : 0x08000000 A13 : 0x00000003
A14 : 0xffffffff A15 : 0x00000000 SAR : 0x0000001a EXCCAUSE: 0x0000001c
EXCVADDR: 0xff030000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000

Backtrace: 0x40080f75:0x3ffb1f60 0x400d0d63:0x3ffb1f80 0x400d1dfa:0x3ffb1fb0 0x40088215:0x3ffb1fd0

Rebooting…
⸮⸮⸮⸮8⸮#⸮⸮’⸮

GalaxyTranslate_Beta_error.ino (34.8 KB)

What necessitated this statement?:

goto continue10;

Do you still have the 35k of code that worked before you encountered this error?

Duplicate topics merged

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a suspension from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

im using an esp32

Yes, we know.