"Error compiling for board Arduino Uno" and all the fixes haven't worked

I posted here a while ago, yet I found the fix for my code and it seems correct, and still I a getting this error.

I saw many post with that error and some fixes, I tried all of them and none worked.

This is my code just for reference:

#include <Keypad.h>
#include <IRremote.h>
const int ROW_NUM = 4; //four rows
const int COLUMN_NUM = 4; //four columns
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
IRsend irsend;
int A[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
int B[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
int C[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
int D[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};

char keys[ROW_NUM][COLUMN_NUM] = {
  {'1','2','3', 'A'},
  {'4','5','6', 'B'},
  {'7','8','9', 'C'},
  {'*','0','#', 'D'}
};

byte pin_rows[ROW_NUM] = {2, 3, 4, 5}; //connect to the row pinouts of the keypad
byte pin_column[COLUMN_NUM] = {6, 7, 8, 9}; //connect to the column pinouts of the keypad

Keypad keypad = Keypad( makeKeymap(keys), pin_rows, pin_column, ROW_NUM, COLUMN_NUM );

void setup(){
  Serial.begin(9600);
  Serial.begin(9600);
  irrecv.enableIRIn(); // Start the receiver
}

void loop(){
  char key = keypad.getKey();
  if (key == "#"){
    char array_choice = keypad.getKey();
    if (array_choice == 'A') {
      int index_of_signal = keypad.getKey();
      if (index_of_signal >= 0 && index_of_signal <= 9) {
        irsend.sendRC5(A[index_of_signal], 8);
        }
      }
    if (array_choice == 'B') {
      int index_of_signal = keypad.getKey();
      if (index_of_signal >= 0 && index_of_signal <= 9) {
        irsend.sendRC5(B[index_of_signal], 8);
        }
      }
    }
    if (key == "*") {
      if (irrecv.decode(&results)) {
      Serial.println(results.value, HEX);
      irrecv.resume();
      }
  }
}

Any help would be appreciated

Hi,
Sorry what error, all you posted was code.
We need to see the error from you PC.

Thanks... Tom.. :grinning: :+1: :coffee: :australia:

1 Like

When you do

You do not block and wait for the next key… so your attempt at nested key touches is doomed

1 Like

so should I just add a 20ms delay?

/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
 int A[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
                                                                      ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
 int B[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
                                                                      ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
 int C[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
                                                                      ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
 int D[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
                                                                      ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino: In function 'void loop()':
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:34:14: warning: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if (key == "#"){
              ^~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:49:16: warning: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if (key == "*") {
                ^~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:50:33: warning: 'bool IRrecv::decode(decode_results*)' is deprecated: Please use IrReceiver.decode() without a parameter and IrReceiver.decodedIRData.<fieldname> . [-Wdeprecated-declarations]
       if (irrecv.decode(&results)) {
                                 ^
In file included from /Users/pyl3r/Documents/Arduino/libraries/IRremote/src/IRremote.h:188:0,
                 from /Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:2:
/Users/pyl3r/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1373:6: note: declared here
 bool IRrecv::decode(decode_results *aResults) {
      ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino: At global scope:
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:3:11: error: redefinition of 'const int ROW_NUM'
 const int ROW_NUM = 4; //four rows
           ^~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:3:11: note: 'const int ROW_NUM' previously defined here
 const int ROW_NUM = 4; //four rows
           ^~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:4:11: error: redefinition of 'const int COLUMN_NUM'
 const int COLUMN_NUM = 4; //four columns
           ^~~~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:4:11: note: 'const int COLUMN_NUM' previously defined here
 const int COLUMN_NUM = 4; //four columns
           ^~~~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:5:5: error: redefinition of 'int RECV_PIN'
 int RECV_PIN = 11;
     ^~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:5:5: note: 'int RECV_PIN' previously defined here
 int RECV_PIN = 11;
     ^~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:6:23: error: redefinition of 'IRrecv irrecv'
 IRrecv irrecv(RECV_PIN);
                       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:6:8: note: 'IRrecv irrecv' previously declared here
 IRrecv irrecv(RECV_PIN);
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:7:16: error: redefinition of 'decode_results results'
 decode_results results;
                ^~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:7:16: note: 'decode_results results' previously declared here
 decode_results results;
                ^~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:8:8: error: redefinition of 'IRsend irsend'
 IRsend irsend;
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:8:8: note: 'IRsend irsend' previously declared here
 IRsend irsend;
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:9:7: error: redefinition of 'int A []'
 int A[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:5: note: 'int A [10]' previously defined here
 int A[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
     ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:10:7: error: redefinition of 'int B []'
 int B[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:5: note: 'int B [10]' previously defined here
 int B[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
     ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:11:7: error: redefinition of 'int C []'
 int C[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:5: note: 'int C [10]' previously defined here
 int C[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
     ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:12:7: error: redefinition of 'int D []'
 int D[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:5: note: 'int D [10]' previously defined here
 int D[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
     ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:14:30: error: redefinition of 'char keys [4][4]'
 char keys[ROW_NUM][COLUMN_NUM] = {
                              ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:14:6: note: 'char keys [4][4]' previously defined here
 char keys[ROW_NUM][COLUMN_NUM] = {
      ^~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:21:22: error: redefinition of 'byte pin_rows [4]'
 byte pin_rows[ROW_NUM] = {2, 3, 4, 5}; //connect to the row pinouts of the keypad
                      ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:21:6: note: 'byte pin_rows [4]' previously defined here
 byte pin_rows[ROW_NUM] = {2, 3, 4, 5}; //connect to the row pinouts of the keypad
      ^~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:22:27: error: redefinition of 'byte pin_column [4]'
 byte pin_column[COLUMN_NUM] = {6, 7, 8, 9}; //connect to the column pinouts of the keypad
                           ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:22:6: note: 'byte pin_column [4]' previously defined here
 byte pin_column[COLUMN_NUM] = {6, 7, 8, 9}; //connect to the column pinouts of the keypad
      ^~~~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:24:8: error: redefinition of 'Keypad keypad'
 Keypad keypad = Keypad( makeKeymap(keys), pin_rows, pin_column, ROW_NUM, COLUMN_NUM );
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:24:8: note: 'Keypad keypad' previously declared here
 Keypad keypad = Keypad( makeKeymap(keys), pin_rows, pin_column, ROW_NUM, COLUMN_NUM );
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino: In function 'void setup()':
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:26:6: error: redefinition of 'void setup()'
 void setup(){
      ^~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:26:6: note: 'void setup()' previously defined here
 void setup(){
      ^~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino: In function 'void loop()':
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:32:6: error: redefinition of 'void loop()'
 void loop(){
      ^~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:32:6: note: 'void loop()' previously defined here
 void loop(){
      ^~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:37:16: warning: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if (key == "#") {
                ^~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:44:29: warning: 'bool IRrecv::decode(decode_results*)' is deprecated: Please use IrReceiver.decode() without a parameter and IrReceiver.decodedIRData.<fieldname> . [-Wdeprecated-declarations]
   if (irrecv.decode(&results)) {
                             ^
In file included from /Users/pyl3r/Documents/Arduino/libraries/IRremote/src/IRremote.h:188:0,
                 from /Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:2:
/Users/pyl3r/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1373:6: note: declared here
 bool IRrecv::decode(decode_results *aResults) {
      ^~~~~~
exit status 1
Error compiling for board Arduino Uno.

This is the error I'm getting

Will you always type that fast ?
You need a state machine and read the keys only once at the start of the loop. The state machine will tell you at which step you are in the data acquisition

NULL is not a good int value. It’s meant to say a pointer pointing nowhere
Global arrays are 0 initialized so just don’t put anything


int A[10];

1 Like

there are a lot of re-definition errors:
this is an extract of your error-message with the important lines.

You can finde them by searching for ": error:"

double-point then a soace then the word "error"

/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino: At global scope:
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:3:11: error: redefinition of 'const int ROW_NUM'
 const int ROW_NUM = 4; //four rows
           ^~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:3:11: note: 'const int ROW_NUM' previously defined here
 const int ROW_NUM = 4; //four rows
           ^~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:4:11: error: redefinition of 'const int COLUMN_NUM'
 const int COLUMN_NUM = 4; //four columns
           ^~~~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:4:11: note: 'const int COLUMN_NUM' previously defined here
 const int COLUMN_NUM = 4; //four columns
           ^~~~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:5:5: error: redefinition of 'int RECV_PIN'
 int RECV_PIN = 11;
     ^~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:5:5: note: 'int RECV_PIN' previously defined here
 int RECV_PIN = 11;
     ^~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:6:23: error: redefinition of 'IRrecv irrecv'
 IRrecv irrecv(RECV_PIN);
                       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:6:8: note: 'IRrecv irrecv' previously declared here
 IRrecv irrecv(RECV_PIN);
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:7:16: error: redefinition of 'decode_results results'
 decode_results results;
                ^~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:7:16: note: 'decode_results results' previously declared here
 decode_results results;
                ^~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:8:8: error: redefinition of 'IRsend irsend'
 IRsend irsend;
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:8:8: note: 'IRsend irsend' previously declared here
 IRsend irsend;
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:9:7: error: redefinition of 'int A []'
 int A[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:9:5: note: 'int A [10]' previously defined here
 int A[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
     ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:10:7: error: redefinition of 'int B []'
 int B[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:10:5: note: 'int B [10]' previously defined here
 int B[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
     ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:11:7: error: redefinition of 'int C []'
 int C[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:11:5: note: 'int C [10]' previously defined here
 int C[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
     ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:12:7: error: redefinition of 'int D []'
 int D[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
       ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:12:5: note: 'int D [10]' previously defined here
 int D[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
     ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:14:30: error: redefinition of 'char keys [4][4]'
 char keys[ROW_NUM][COLUMN_NUM] = {
                              ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:14:6: note: 'char keys [4][4]' previously defined here
 char keys[ROW_NUM][COLUMN_NUM] = {
      ^~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:21:22: error: redefinition of 'byte pin_rows [4]'
 byte pin_rows[ROW_NUM] = {2, 3, 4, 5}; //connect to the row pinouts of the keypad
                      ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:21:6: note: 'byte pin_rows [4]' previously defined here
 byte pin_rows[ROW_NUM] = {2, 3, 4, 5}; //connect to the row pinouts of the keypad
      ^~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:22:27: error: redefinition of 'byte pin_column [4]'
 byte pin_column[COLUMN_NUM] = {6, 7, 8, 9}; //connect to the column pinouts of the keypad
                           ^
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:22:6: note: 'byte pin_column [4]' previously defined here
 byte pin_column[COLUMN_NUM] = {6, 7, 8, 9}; //connect to the column pinouts of the keypad
      ^~~~~~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:24:8: error: redefinition of 'Keypad keypad'
 Keypad keypad = Keypad( makeKeymap(keys), pin_rows, pin_column, ROW_NUM, COLUMN_NUM );
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:24:8: note: 'Keypad keypad' previously declared here
 Keypad keypad = Keypad( makeKeymap(keys), pin_rows, pin_column, ROW_NUM, COLUMN_NUM );
        ^~~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino: In function 'void setup()':
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:26:6: error: redefinition of 'void setup()'
 void setup(){
      ^~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:26:6: note: 'void setup()' previously defined here
 void setup(){
      ^~~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino: In function 'void loop()':
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino:32:6: error: redefinition of 'void loop()'
 void loop(){
      ^~~~
/Users/pyl3r/Documents/university/Arduino Physics/sample.ino/sample.ino.ino:32:6: note: 'void loop()' previously defined here
 void loop(){

best regards Stefan

1 Like

I took your advice for the arrays, but how would I go about writing a state machine?
And you were right about the delays as well, I set them to a 1000ms since I don't know how to make a state machine yet. But I still always get the error that I was getting in the first place.

I compiled your code and it did compile.

So there must be something wrong with the libraries you are using.

I recommend creating a backup of all folders related to the Arduino-IDE to be able to do a rolback

then de-Install and install the arduino-IDE new

As you get re-definition errors did you add those constants that the compiler complaints about in the
Keypad.h or the Keypad.cpp

IRremote.h or the IRremote.cpp

files?

These are the compiler-messages I get when compiling your code

F:\MyPortable-PRgs\arduino1.8.13\arduino-builder -dump-prefs -logger=machine -hardware F:\MyPortable-PRgs\arduino1.8.13\hardware -hardware F:\MyPortable-PRgs\arduino1.8.13\portable\packages -hardware F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\hardware -tools F:\MyPortable-PRgs\arduino1.8.13\tools-builder -tools F:\MyPortable-PRgs\arduino1.8.13\hardware\tools\avr -tools F:\MyPortable-PRgs\arduino1.8.13\portable\packages -libraries F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries -fqbn=arduino:avr:uno -vid-pid=10C4_EA60 -ide-version=10813 -build-path C:\Users\dipl-\AppData\Local\Temp\arduino_build_67192 -warnings=all -build-cache C:\Users\dipl-\AppData\Local\Temp\arduino_cache_193552 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino
F:\MyPortable-PRgs\arduino1.8.13\arduino-builder -compile -logger=machine -hardware F:\MyPortable-PRgs\arduino1.8.13\hardware -hardware F:\MyPortable-PRgs\arduino1.8.13\portable\packages -hardware F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\hardware -tools F:\MyPortable-PRgs\arduino1.8.13\tools-builder -tools F:\MyPortable-PRgs\arduino1.8.13\hardware\tools\avr -tools F:\MyPortable-PRgs\arduino1.8.13\portable\packages -libraries F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries -fqbn=arduino:avr:uno -vid-pid=10C4_EA60 -ide-version=10813 -build-path C:\Users\dipl-\AppData\Local\Temp\arduino_build_67192 -warnings=all -build-cache C:\Users\dipl-\AppData\Local\Temp\arduino_cache_193552 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino
Using board 'uno' from platform in folder: F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\hardware\avr\1.8.3
Using core 'arduino' from platform in folder: F:\MyPortable-PRgs\arduino1.8.13\portable\packages\arduino\hardware\avr\1.8.3
Detecting libraries used...
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\sketch\\megatoh-001.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for Keypad.h: [Keypad@3.1.1]
ResolveLibrary(Keypad.h)
  -> candidates: [Keypad@3.1.1]
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\sketch\\megatoh-001.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for IRremote.h: [IRremote@2.2.3]
ResolveLibrary(IRremote.h)
  -> candidates: [IRremote@2.2.3]
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\sketch\\megatoh-001.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src\\Key.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src\\Keypad.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\IRremote.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\esp32.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\irPronto.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\irRecv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\irSend.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Aiwa.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Denon.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Dish.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_JVC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_LG.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Lego_PF.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Mitsubishi.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_NEC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Panasonic.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_RC5_RC6.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Samsung.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Sanyo.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Sharp.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Sony.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Template.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Whynter.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\sam.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\sketch\\megatoh-001.ino.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
"F:\\MyPortable-PRgs\\arduino1.8.13\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\sketch\\megatoh-001.ino.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\sketch\\megatoh-001.ino.cpp.o"
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
 int A[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
                                                                      ^
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:9:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
 int B[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
                                                                      ^
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:10:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
 int C[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
                                                                      ^
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:11:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
 int D[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL};
                                                                      ^
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:12:70: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino: In function 'void loop()':
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:34:14: warning: comparison with string literal results in unspecified behavior [-Waddress]
   if (key == "#"){
              ^~~
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:34:14: warning: ISO C++ forbids comparison between pointer and integer [-fpermissive]
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:49:16: warning: comparison with string literal results in unspecified behavior [-Waddress]
     if (key == "*") {
                ^~~
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\megatoh-001\megatoh-001.ino:49:16: warning: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Compiling libraries...
Compiling library "Keypad"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src\\Key.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\Keypad\\Key.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src\\Keypad.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\Keypad\\Keypad.cpp.o"
Compiling library "IRremote"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\irRecv.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\irRecv.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\IRremote.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\IRremote.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\esp32.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\esp32.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\irPronto.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\irPronto.cpp.o"
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp: In function 'int MATCH(int, int)':
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp:58:32: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
     DBG_PRINTLN(F("?; FAILED"));
                                ^
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp:57:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp:59:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   return passed;
   ^~~~~~
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp: In function 'int MATCH_MARK(int, int)':
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp:84:32: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
     DBG_PRINTLN(F("?; FAILED"));
                                ^
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp:83:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp:85:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   return passed;
   ^~~~~~
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp: In function 'int MATCH_SPACE(int, int)':
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp:110:32: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
     DBG_PRINTLN(F("?; FAILED"));
                                ^
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp:109:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else
   ^~~~
F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote\IRremote.cpp:111:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   return passed;
   ^~~~~~
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\irSend.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\irSend.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Aiwa.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Aiwa.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Denon.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Denon.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Dish.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Dish.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_JVC.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_JVC.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_LG.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_LG.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Lego_PF.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Lego_PF.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Mitsubishi.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Mitsubishi.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_NEC.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_NEC.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Panasonic.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Panasonic.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_RC5_RC6.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_RC5_RC6.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Samsung.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Samsung.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Sanyo.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Sanyo.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Sharp.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Sharp.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Sony.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Sony.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Template.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Template.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\ir_Whynter.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Whynter.cpp.o"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\standard" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\Keypad\\src" "-IF:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote" "F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\sketchbook\\libraries\\IRremote\\sam.cpp" -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\sam.cpp.o"
Compiling core...
Using precompiled core: C:\Users\dipl-\AppData\Local\Temp\arduino_cache_193552\core\core_arduino_avr_uno_030515334cd15aed3a65f684f77779af.a
Linking everything together...
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192/megatoh-001.ino.elf" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\sketch\\megatoh-001.ino.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\Keypad\\Key.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\Keypad\\Keypad.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\IRremote.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\esp32.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\irPronto.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\irRecv.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\irSend.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Aiwa.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Denon.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Dish.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_JVC.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_LG.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Lego_PF.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Mitsubishi.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_NEC.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Panasonic.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_RC5_RC6.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Samsung.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Sanyo.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Sharp.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Sony.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Template.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\ir_Whynter.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192\\libraries\\IRremote\\sam.cpp.o" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192/..\\arduino_cache_193552\\core\\core_arduino_avr_uno_030515334cd15aed3a65f684f77779af.a" "-LC:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192" -lm
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192/megatoh-001.ino.elf" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192/megatoh-001.ino.eep"
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192/megatoh-001.ino.elf" "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192/megatoh-001.ino.hex"
Using library Keypad at version 3.1.1 in folder: F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\Keypad 
Using library IRremote at version 2.2.3 in folder: F:\MyPortable-PRgs\arduino1.8.13\portable\sketchbook\libraries\IRremote 
"F:\\MyPortable-PRgs\\arduino1.8.13\\portable\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\dipl-\\AppData\\Local\\Temp\\arduino_build_67192/megatoh-001.ino.elf"
Sketch uses 9260 bytes (28%) of program storage space. Maximum is 32256 bytes.
Global variables use 585 bytes (28%) of dynamic memory, leaving 1463 bytes for local variables. Maximum is 2048 bytes.

As you can see from the paths I'M using a "portable" version of the Arduino-IDE where everything about libraries is below a subfolder "portable"

This configarution allows to have multiple Arduino-IDEs without interfering each other

best regards Stefan

1 Like

Look it up
"arduino state machine" should give you plenty to read
The idea is pretty simple. You await events and take actions based on which state you are in when the event is detected

I am de-installing the IDE, but what I didn't really understand is which constants do I have to add? I thought I had added all the needed ones in my code, and do I have to add them in the main code or the library files?

Best regards,
James

Do you have two .ino files in your sketch’s folder? That’s a no go to keep an old version there

No, I just have one file in the folder and one tab open, so that I don't get lost.

The IR library has changed. Look at the new examples and comments in their GitHub

re-definition of constants means you have a definition and you are trying to define a constant with the same name a second time which is forbidden.

So it is the opposite of adding a constant.

Anyway it seems that you are using an old version of a library.
So cleanest way would be to install the whole arduino-IDE new and then if the compiler complaints about an include-file not found to install the newest library with the library manager

And from there first thing to do is using a demo-program for the keypad with that is well known to compile

and a demo-program for IRremote that is well known for compiling

trying to be really fast in programming turns out to slow you down in 99,999% of all cases.

best regards Stefan

Thank you for your help, it's really appreciated.

Best regards,
James

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.