 
  /*
   * TODO:
-  * changer les pins 6 & 7 de l'encoder pour les pins 2 & 3  et vice versa -> interrupts
+  * 
   */
   
 #include <Wire.h>

{
 byte relativePosition = (abs(oldPosition) / 4) - (cycleMenu * MENUELEMENTS);
  lcd.setCursor(0,0);
  
    
  lcd.print(menuStrings[relativePosition][0]);
  lcd.setCursor(0,1);
  lcd.print(menuStrings[relativePosition][1]);
  encoder();
  
  if (!digitalRead(encButton))
   {
    Serial.println("BOUTON !");

#include <Encoder.h>

#define MENUELEMENTS 2

#define VALMIN 0
#define VALMAX 40

PN532_I2C pn532_i2c(Wire);
PN532 nfc(pn532_i2c);
