Quand ça veut.. .ça veut pas...
Arduino : 1.8.13 (Windows 10), Carte : "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:18:10: warning: ISO C++ forbids declaration of 'SetupLcd' with no type [-fpermissive]
SetupLcd()
^
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h: In function 'int SetupLcd()':
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:21:33: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
lcd.createChar(ARROW, iArrow);
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:3:0:
C:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
void createChar(uint8_t, uint8_t[]);
^~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h: In function 'void set_menu_start()':
Menu.h:97:4: error: 'aff_TimerState' was not declared in this scope
aff_TimerState =-1;
^~~~~~~~~~~~~~
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h: In function 'void set_menu_exit()':
Menu.h:102:4: error: 'TimerState' was not declared in this scope
TimerState = 0 ;
^~~~~~~~~~
Menu.h:103:4: error: 'TimerState_old' was not declared in this scope
TimerState_old = -1;
^~~~~~~~~~~~~~
Menu.h:104:4: error: 'aff_TimerState' was not declared in this scope
aff_TimerState = -1;
^~~~~~~~~~~~~~
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h: In function 'void T_Menu()':
Menu.h:159:15: error: 'TimerState' was not declared in this scope
if ( TimerState < 2)
^~~~~~~~~~
Menu.h:165:11: error: 'TimerState' was not declared in this scope
TimerState = 0;
^~~~~~~~~~
Menu.h:171:11: error: 'VitesseMot' was not declared in this scope
VitesseMot ++;
^~~~~~~~~~
Menu.h:176:16: error: 'VitesseMot' was not declared in this scope
if ( VitesseMot >2)
^~~~~~~~~~
Menu.h:218:54: error: 'memory' was not declared in this scope
case 0: T_SubMenu( 0, TYPE_INT, &memory.d.Timer1_heu, 0, 23 ); break;
^~~~~~
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:218:54: note: suggested alternative: 'memcpy'
case 0: T_SubMenu( 0, TYPE_INT, &memory.d.Timer1_heu, 0, 23 ); break;
^~~~~~
memcpy
Menu.h:232:17: error: 'Mot_1Tr' was not declared in this scope
Mot_1Tr();
^~~~~~~
Menu.h:238:17: error: 'writeConfiguration' was not declared in this scope
writeConfiguration();
^~~~~~~~~~~~~~~~~~
Menu.h:243:17: error: 'readConfiguration' was not declared in this scope
readConfiguration();
^~~~~~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
sketch\Lcd.h: At global scope:
Lcd.h:4:18: error: redefinition of 'LiquidCrystal lcd'
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:4:15: note: 'LiquidCrystal lcd' previously declared here
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
^~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
Lcd.h:5:12: error: redefinition of 'const byte rowsLCD'
const byte rowsLCD = 2; // Nb rows LCD
^~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:5:12: note: 'const byte rowsLCD' previously defined here
const byte rowsLCD = 2; // Nb rows LCD
^~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
Lcd.h:6:12: error: redefinition of 'const byte columnsLCD'
const byte columnsLCD = 16; // Nb colum LCD
^~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:6:12: note: 'const byte columnsLCD' previously defined here
const byte columnsLCD = 16; // Nb colum LCD
^~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
Lcd.h:7:20: error: redefinition of 'const byte iArrow [8]'
const byte iArrow[8] = { B00000, B00100, B00110, B11111, B00110, B00100, B00000, B00000 };
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:7:12: note: 'const byte iArrow [8]' previously defined here
const byte iArrow[8] = { B00000, B00100, B00110, B11111, B00110, B00100, B00000, B00000 };
^~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
Lcd.h:8:12: error: redefinition of 'const byte ARROW'
const byte ARROW = 0;
^~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:8:12: note: 'const byte ARROW' previously defined here
const byte ARROW = 0;
^~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
Lcd.h:12:5: error: redefinition of 'int lcd_key'
int lcd_key = 0;
^~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:13:5: note: 'int lcd_key' previously defined here
int lcd_key = 0;
^~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
Lcd.h:13:5: error: redefinition of 'int adc_key_in'
int adc_key_in = 0;
^~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:14:5: note: 'int adc_key_in' previously defined here
int adc_key_in = 0;
^~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
Lcd.h:14:5: error: redefinition of 'int adc_key_prev'
int adc_key_prev = 0;
^~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:15:5: note: 'int adc_key_prev' previously defined here
int adc_key_prev = 0;
^~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
sketch\Lcd.h:17:10: warning: ISO C++ forbids declaration of 'SetupLcd' with no type [-fpermissive]
SetupLcd()
^
sketch\Lcd.h: In function 'int SetupLcd()':
Lcd.h:17:1: error: redefinition of 'int SetupLcd()'
SetupLcd()
^~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:7:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Lcd.h:18:1: note: 'int SetupLcd()' previously defined here
SetupLcd()
^~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:61:0:
sketch\Lcd.h:20:33: warning: invalid conversion from 'const byte* {aka const unsigned char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]
lcd.createChar(ARROW, iArrow);
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:3:0:
C:\Program Files (x86)\Arduino\libraries\LiquidCrystal\src/LiquidCrystal.h:81:8: note: initializing argument 2 of 'void LiquidCrystal::createChar(uint8_t, uint8_t*)'
void createChar(uint8_t, uint8_t[]);
^~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:63:0:
sketch\Clavier.h: At global scope:
Clavier.h:6:15: error: redefinition of 'const uint8_t ANALOG_SWITCH_PIN'
const uint8_t ANALOG_SWITCH_PIN = A0; // switches connected to this pin
^~~~~~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:5:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Clavier.h:9:15: note: 'const uint8_t ANALOG_SWITCH_PIN' previously defined here
const uint8_t ANALOG_SWITCH_PIN = A0; // switches connected to this pin
^~~~~~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:63:0:
Clavier.h:19:39: error: redefinition of 'MD_UISwitch_Analog::uiAnalogKeys_t kt []'
MD_UISwitch_Analog::uiAnalogKeys_t kt[] =
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:5:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Clavier.h:22:36: note: 'MD_UISwitch_Analog::uiAnalogKeys_t kt [5]' previously defined here
MD_UISwitch_Analog::uiAnalogKeys_t kt[] =
^~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:63:0:
Clavier.h:40:22: error: redefinition of 'MD_UISwitch_Analog S'
MD_UISwitch_Analog S(ANALOG_SWITCH_PIN, kt, ARRAY_SIZE(kt));
^~~~~~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:5:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Clavier.h:43:20: note: 'MD_UISwitch_Analog S' previously declared here
MD_UISwitch_Analog S(ANALOG_SWITCH_PIN, kt, ARRAY_SIZE(kt));
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:63:0:
sketch\Clavier.h: In function 'void SetupClavier()':
Clavier.h:42:6: error: redefinition of 'void SetupClavier()'
void SetupClavier(void)
^~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:5:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Clavier.h:45:6: note: 'void SetupClavier()' previously defined here
void SetupClavier(void)
^~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:63:0:
sketch\Clavier.h: In function 'void TestClavier()':
Clavier.h:52:6: error: redefinition of 'void TestClavier()'
void TestClavier(void)
^~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:5:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Clavier.h:55:6: note: 'void TestClavier()' previously defined here
void TestClavier(void)
^~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
sketch\Menu.h: At global scope:
Menu.h:8:6: error: multiple definition of 'enum choix_saisie'
enum choix_saisie
^~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:12:6: note: previous definition here
enum choix_saisie
^~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:17:6: error: multiple definition of 'enum menu_mode'
enum menu_mode
^~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:21:6: note: previous definition here
enum menu_mode
^~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:23:15: error: redefinition of 'long unsigned int tNow'
unsigned long tNow = 0;
^~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:27:15: note: 'long unsigned int tNow' previously defined here
unsigned long tNow = 0;
^~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:24:15: error: redefinition of 'long unsigned int tPrevious'
unsigned long tPrevious = 0;
^~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:28:15: note: 'long unsigned int tPrevious' previously defined here
unsigned long tPrevious = 0;
^~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:26:5: error: redefinition of 'int Menu_Position'
int Menu_Position = 0;
^~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:30:5: note: 'int Menu_Position' previously defined here
int Menu_Position = 0;
^~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:27:5: error: redefinition of 'int Menu_Position_Mem'
int Menu_Position_Mem =-1;
^~~~~~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:31:5: note: 'int Menu_Position_Mem' previously defined here
int Menu_Position_Mem =-1;
^~~~~~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:28:5: error: redefinition of 'int Menu_Rang'
int Menu_Rang = MENU_NO;
^~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:32:5: note: 'int Menu_Rang' previously defined here
int Menu_Rang = MENU_NO;
^~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:29:5: error: redefinition of 'int Menu_Rang_Mem'
int Menu_Rang_Mem =-1;
^~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:33:5: note: 'int Menu_Rang_Mem' previously defined here
int Menu_Rang_Mem =-1;
^~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:30:5: error: redefinition of 'int INC'
int INC = 0;
^~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:34:5: note: 'int INC' previously defined here
int INC = 0;
^~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:47:12: error: redefinition of 'const byte iMENU'
const byte iMENU = 15;
^~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:51:12: note: 'const byte iMENU' previously defined here
const byte iMENU = 15;
^~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:48:20: error: redefinition of 'const char* txMENU []'
const char *txMENU[] = {// Maximo columnsLCD - 1 caracteres
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:52:13: note: 'const char* txMENU [16]' previously defined here
const char *txMENU[] = {// Maximo columnsLCD - 1 caracteres
^~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:69:13: error: redefinition of 'const byte iMENU1'
const byte iMENU1 = 2;
^~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:73:13: note: 'const byte iMENU1' previously defined here
const byte iMENU1 = 2;
^~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:70:22: error: redefinition of 'const char* txSMENU1 []'
const char *txSMENU1[] = {
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:74:13: note: 'const char* txSMENU1 [2]' previously defined here
const char *txSMENU1[] = {
^~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
sketch\Menu.h: In function 'void set_menu_start()':
Menu.h:87:6: error: redefinition of 'void set_menu_start()'
void set_menu_start()
^~~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:91:6: note: 'void set_menu_start()' previously defined here
void set_menu_start()
^~~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
sketch\Menu.h: In function 'void set_menu_exit()':
Menu.h:95:6: error: redefinition of 'void set_menu_exit()'
void set_menu_exit()
^~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:99:6: note: 'void set_menu_exit()' previously defined here
void set_menu_exit()
^~~~~~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
sketch\Menu.h: At global scope:
Menu.h:109:27: error: redefinition of 'MD_UISwitch::keyResult_t k'
MD_UISwitch::keyResult_t k;
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:113:27: note: 'MD_UISwitch::keyResult_t k' previously declared here
MD_UISwitch::keyResult_t k;
^
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
Menu.h:110:6: error: redefinition of 'int btn'
int btn;
^~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:114:6: note: 'int btn' previously declared here
int btn;
^~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
sketch\Menu.h: In function 'void T_Menu()':
Menu.h:113:6: error: redefinition of 'void T_Menu()'
void T_Menu(void)
^~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:117:6: note: 'void T_Menu()' previously defined here
void T_Menu(void)
^~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:64:0:
sketch\Menu.h: In function 'void T_SubMenu(byte, byte, int*, int, int)':
Menu.h:310:6: error: redefinition of 'void T_SubMenu(byte, byte, int*, int, int)'
void T_SubMenu( byte nameID, byte typeMenu, int *value, int minValue, int maxValue )
^~~~~~~~~
In file included from I:\Maxtor\Arduino\menu_shield\menu_shield.ino:8:0:
C:\Users\papa\Documents\Arduino\libraries\ShieldKeypad-main/Menu.h:314:6: note: 'void T_SubMenu(byte, byte, int*, int, int)' previously defined here
void T_SubMenu( byte nameID, byte typeMenu, int *value, int minValue, int maxValue )
^~~~~~~~~
exit status 1
'aff_TimerState' was not declared in this scope
Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.