Confirmation codages amateur ?

Voici le code complet Uno, Lcd shield 1602, Dht22 avec horlogerie réglable, comme je vais utilisé des câbles Dupont au lieu d'enficher je dois me faire un plan vite fait. Encore merci Infobarquee sans toi j'aurais rien pu faire, Respect.

#include "DHT.h"//DHT sensor Library
#include <LiquidCrystal.h>//LCD Library 
#define DHTTYPE DHT22  
#define DHTPIN A5 // connecte dht sur broches A5
DHT dht(DHTPIN, DHTTYPE);
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); //Create lcd object using this pins 8,9,4,5,6,7
// define some values used by the panel and buttons
int lcd_key = 0;
int adc_key_in = 0;
#define btnRIGHT 0
#define btnUP 1
#define btnDOWN 2
#define btnLEFT 3
#define btnSELECT 4
#define btnNONE 5
long ext_h = 0;
long ext_m = 0;
// read the buttons
int read_LCD_buttons()
{
adc_key_in = analogRead(0); // read the value from the sensor 
// my buttons when read are centered at these valies: 0, 100, 256, 410, 640
// we add approx 50 to those values and check to see if we are close
if (adc_key_in > 1000) return btnNONE; // We make this the 1st option for speed reasons since it will be the most likely result
if (adc_key_in < 50) return btnRIGHT; 
if (adc_key_in < 150) return btnUP; 
if (adc_key_in < 300) return btnDOWN; 
if (adc_key_in < 460) return btnLEFT; 
if (adc_key_in < 690) return btnSELECT; 
return btnNONE; // when all others fail, return this...
}
void setup()
{
lcd.begin(16, 2); // start the library
}
void loop()
{
long hour, minute, second ;
long total ;
total = millis()/1000 + ext_h*3600 + ext_m*60;
hour = (total % 43200)/3600;
minute = (total % 3600)/60;
second = total % 60;
lcd_key = read_LCD_buttons();
int err;
float temp, humi;
lcd.setCursor(0,0); 
//lcd.print(total);
if((err=dht22.read(humi, temp))==0){
lcd.setCursor(0,0); 
lcd.print("T lcd.print(temp);
lcd.print("C lcd.print("H lcd.print(humi);
lcd.print("%");
lcd.setCursor(0,1); 
lcd.print("Time if(hour<10){
lcd.print("0 }
lcd.print(hour);
lcd.print(":"); 
if(minute<10){
lcd.print("0 }
lcd.print(minute);
lcd.print(":"); 
if(second<10){
lcd.print("0 }
lcd.print(second);
}else{
lcd.setCursor(0,1); 
lcd.print("Error");
lcd.print(err);
}
switch (lcd_key) // depending on which button was pushed, we perform an action
{
case btnRIGHT:{
break;
}case btnLEFT:{
ext_m +=1; 
//lcd.print(" *m");
break;
}case btnUP:{
break;
}case btnDOWN:{
break;
}case btnSELECT:{
ext_h +=1;
//lcd.print(" *h");
break;
}case btnNONE:{
break;
}
}
delay(DHT22_RETRY_DELAY); //delay for reread
//lcd_key = read_LCD_buttons(); // read the buttons
}