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

  
  lcd.setCursor(0,1);
  lcd.print("NFC OK");
  //delay(1000);
  lcd.clear();
  }



void encoder()
{
  int newPosition = myEnc.read();
  if ((newPosition != oldPosition) )
  {
    
     
    oldPosition = newPosition;
    if(oldPosition < 0)
    {

#include <Encoder.h>

#define MENUELEMENTS 2

#define VALMIN 0
#define VALMAX 40

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