LE code :
// NeoPixel Ring simple sketch (c) 2013 Shae Erisson
// released under the GPLv3 license to match the rest of the AdaFruit NeoPixel library
//#include "Wire.h" [b] // en enlevant ces commentaires , ça fait bugger l'affichage .[color=red][/color][/b]
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
// Which pin on the Arduino is connected to the NeoPixels?
// On a Trinket or Gemma we suggest changing this to 1
#define PIN 7
// How many NeoPixels are attached to the Arduino?
#define NUMPIXELS 256
// When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals.
// Note that for older NeoPixel strips you might need to change the third parameter--see the strandtest
// example for more information on possible values.
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);
int delayval = 1000; // delay for half a second
int heure_dizaine = 2;
byte heure_unit = 2;
byte minute_dizaine = 3;
byte minute_unit = 4;
//Unité Heures
int unitHeureUN[7]={111,110,109,108,107,106,105};
int unitHeureDEUX[16]={80,95,96,111,110,109,108,99,92,83,84,85,86,89,102,105};
int unitHeureTROIS[16]={80,95,96,111,110,109,108,107,106,105,102,89,86,99,92,83};
int unitHeureQUATRE[13]={80,81,82,83,92,99,108,107,106,105,111,110,109};
int unitHeureCINQ[16]={80,95,96,111,81,82,108,107,106,99,92,83,86,89,102,105};
int unitHeureSIX[15]={80,81,82,83,84,85,86,89,102,105,106,107,108,99,92};
int unitHeureSEPT[10]={80,95,96,111,110,109,108,107,106,105};
int unitHeureHUIT[20]={80,81,82,83,84,85,86,111,110,109,108,107,106,105,92,99,95,96,89,102};
int unitHeureNEUF[15]={80,81,82,83,95,96,92,99,111,110,109,108,107,106,105};
int unitHeureZERO[18]={80,81,82,83,84,85,86,111,110,109,108,107,106,105,95,96,89,102};
// Dizaine Minutes
int dizaineMinuteZERO[18]={159,158,157,156,155,154,153,166,169,182,181,180,179,178,177,176,175,160};
int dizaineMinuteUN[7]={176,177,178,179,180,181,182};
int dizaineMinuteDEUX[16]={159,160,175,176,177,178,179,172,163,156,155,154,153,169,182,166};
int dizaineMinuteTROIS[16]={159,160,175,176,156,163,172,179,153,166,169,182,177,178,180,181};
int dizaineMinuteQUATRE[13]={159,158,157,156,163,172,179,180,181,182,178,177,176};
int dizaineMinuteCINQ[16]={159,160,175,176,156,172,179,163,153,166,169,182,158,157,180,181};
// Unités Minutes
int unitMinuteUN[7]={224,225,226,227,228,229,230};
int unitMinuteDEUX[16]={207,208,223,224,204,211,220,227,201,214,217,230,225,226,202,203};
int unitMinuteTROIS[16]={207,208,223,224,204,211,220,227,201,214,217,230,225,226,228,229};
int unitMinuteQUATRE[13]={207,206,205,204,211,220,227,228,229,230,224,225,226};
int unitMinuteCINQ[16]={207,208,223,224,204,211,220,227,201,214,217,230,206,205,228,229};
int unitMinuteSIX[15]={207,206,205,204,203,202,201,227,228,229,230,214,217,211,220};
int unitMinuteSEPT[10]={207,208,223,224,225,226,227,228,229,230};
int unitMinuteHUIT[20]={207,206,205,204,203,202,201,224,225,226,227,228,229,230,214,217,208,223,211,220};
int unitMinuteNEUF[15]={207,206,205,204,224,225,226,227,228,229,230,211,220,208,223};
int unitMinuteZERO[18]={207,206,205,204,203,202,201,224,225,226,227,228,229,230,214,217,208,223};
int red = 10;
int green = 10;
int blue = 10;
int rouge_back = 0;
int vert_back = 0;
int bleu_back= 0;
int i = 0;