Hauptmenü

-->

werkzeug kisten logo

hier findest du viele detaillierte Bastelanideen mit Holz, Metall und vielen anderen Materialien. Du kannst Schaltungen mit 9 Volt nachbauen oder den Arduino mit der grafischen Programmierung Ardublock ganz einfach programmieren. Es gibt Experimente, Rezepte, eine Outdoor Seite, Gedanken über Gott und die Welt, Spielgeräte zum Nachbauen, einen kleinen Blog über mich und einiges mehr.


Wenn dir die Seite gefällt dann teile sich doch mit deinen Freunden oder unterstütze die Arbeit mit einer kleinen Spende.
Und nun viel Spaß beim Stöbern und Kreativ sein :-), dein Ronnie.

 

 

Hier findest du gleich meine neuesten Beiträge -->

 

 

 

3D-druck-vorlagen

Hier gibt es die Vorlagen für den 3D Drucker, die ich für meine Bastelideen verwendet habe zum download und so weit möglich auch die Freecad Datein (jeweils in der gleichen zip Datei).

Weiterlesen: 3D-druck-vorlagen

3D Druck Werkzeugkiste

Hier gibt es die beiden Werkzeugkisten zum herunterladen und ausdrucken. 

 

Werkzeugkiste ZWEI --> RUND. Die Auflösung sollte relativ hoch sein, sonst passt der Stab nicht in die Löcher. 

3D drucker werkzeugkiste vorlage drucken

 

Werkzeugkiste eins --> eckig

 

3D drucker werkzeugkiste vorlage

Werkzeugkiste zwei --> rund

 

 

Fabbrica di filo caldo - istruzioni per la costruzione

Il filo caldo è il classico assoluto quando si tratta di giochi elettrici. Filo caldo è, ma non lo stesso filo, caldo, perché ci sono molti circuiti differenti e tipi di gioco. Su questa pagina, mi piacerebbe introdurre di più di 15 circuiti e diversi tipi di filo caldo.

Weiterlesen: Fabbrica di filo caldo - istruzioni per la costruzione

Buzzer CODE

 

Code für Arduino Uno/ Mega

char spiel = ' ' ;

void setup()
{
pinMode( 3 , INPUT);
pinMode( 5 , INPUT);
pinMode( 4 , INPUT);
digitalWrite(3, HIGH);
digitalWrite(4, HIGH);
digitalWrite(5, HIGH);
pinMode( 8 , OUTPUT);
pinMode( 9 , OUTPUT);
pinMode( 10 , OUTPUT);

 

spiel = 'A';

digitalWrite( 8 , HIGH );

digitalWrite( 9 , HIGH );

digitalWrite( 10 , HIGH );

delay( 1000 );

digitalWrite( 8 , LOW );

digitalWrite( 9 , LOW );

digitalWrite( 10 , LOW );

}

void loop()
{
if (!( digitalRead(3) ))
{
spiel = 'B';
digitalWrite( 8 , HIGH );
digitalWrite( 9 , LOW );
digitalWrite( 10 , HIGH );
delay( 1000 );
digitalWrite( 10 , LOW );
}
if (!( digitalRead(4) ))
{
spiel = 'B';
digitalWrite( 8 , LOW );
digitalWrite( 9 , HIGH );
digitalWrite( 10 , HIGH );
delay( 1000 );
digitalWrite( 10 , LOW );
}
while ( ( ( spiel ) == ( 'B' ) ) )
{
if (!( digitalRead(5) ))
{
spiel = 'A';
digitalWrite( 8 , LOW );
digitalWrite( 9 , LOW );
digitalWrite( 10 , LOW );
}
}

}

 

 Code  für Attiny 45

int spiel = 0 ;

void setup()
{
pinMode( 3 , INPUT);
pinMode( 4 , INPUT);
pinMode( 0 , OUTPUT);
pinMode( 1 , OUTPUT);
pinMode( 2 , OUTPUT);
spiel = 0 ;

digitalWrite( 0 , LOW );

digitalWrite( 1 , LOW );

}

void loop()
{
if (digitalRead(3))
{
spiel = 1 ;
digitalWrite( 0 , LOW );
digitalWrite( 1 , HIGH );
digitalWrite( 2 , HIGH );
delay( 1000 );
digitalWrite( 2 , LOW );
}
if (digitalRead(4))
{
spiel = 1 ;
digitalWrite( 0 , HIGH );
digitalWrite( 1 , LOW );
digitalWrite( 2 , HIGH );
delay( 1000 );
digitalWrite( 2 , LOW );
}
while ( ( ( spiel ) == ( 1 ) ) )
{
delay( 5000 );
}

}

ardublock code beispiele

Hier gibt die Ardublock Code Beispiele die ich in Videos oder auf meiner Seite vorstelle:

Weiterlesen: ardublock code beispiele

heisser draht für zwei 2 spieler

 

 

heisser draht fuer 2 zwei spieler bauanleitung

 

 

Code 

----------------------------------------------------------------------------------------------------------------------------

 

#include <Adafruit_NeoPixel.h>

int start = 0 ;
int startlinks = 0 ;
int startrechts = 0 ;
int a;
int fehlerlinks = 0 ;
int fehlerrechts = 0 ;
int helligkeit = 0 ;
Adafruit_NeoPixel strip_pin5 = Adafruit_NeoPixel(8,5, NEO_RGB + NEO_KHZ800);

void Unterprogramm9();
void Unterprogramm();
void Unterprogramm12();
void Unterprogramm1();
void Unterprogramm2();
void Unterprogramm3();
void Unterprogramm8();

void setup()
{
pinMode( 3 , INPUT);
pinMode( 2 , INPUT);
pinMode( 10 , INPUT);
pinMode( 9 , INPUT);
pinMode( 11 , INPUT);
pinMode( 12 , INPUT);
pinMode( 7 , OUTPUT);
digitalWrite(12, HIGH);
digitalWrite(11, HIGH);
digitalWrite(10, HIGH);
digitalWrite(9, HIGH);
digitalWrite(2, HIGH);
digitalWrite(3, HIGH);
strip_pin5.begin();
strip_pin5.show();
Unterprogramm();

Unterprogramm8();

}

void loop()
{
if (( ( !( digitalRead(10) ) || !( digitalRead(12) ) ) && ( ( start ) == ( 0 ) ) ))
{
Unterprogramm8();
start = 1 ;
startlinks = 1 ;
startrechts = 1 ;
digitalWrite( 7 , HIGH );
for (a=1; a<= ( 3 ); ++a )
{
tone(6, 500, 500);
delay( 1000 );
}
tone(6, 800, 1000);
delay( 1000 );
digitalWrite( 7 , LOW );
}
Unterprogramm1();
Unterprogramm2();
Unterprogramm3();
}

void Unterprogramm12()
{
digitalWrite( 7 , HIGH );
tone(6, 900, 3000);
delay( 3000 );
digitalWrite( 7 , LOW );
}

void Unterprogramm9()
{
fehlerlinks = 5 ;
startrechts = 5 ;
startlinks = 5 ;
fehlerrechts = 5 ;
start = 0 ;
}

void Unterprogramm()
{
fehlerlinks = 5 ;
startrechts = 0 ;
startlinks = 0 ;
fehlerrechts = 5 ;
helligkeit = 180 ;
start = 0 ;
}

void Unterprogramm3()
{
if (( !( digitalRead(2) ) && ( ( fehlerrechts ) == ( 0 ) ) ))
{
Unterprogramm9();
strip_pin5.setBrightness(helligkeit);
strip_pin5.setPixelColor(0,0 ,0 ,120 );
strip_pin5.setPixelColor(1,0 ,0 ,120 );
strip_pin5.setPixelColor(2,0 ,0 ,120 );
strip_pin5.setPixelColor(5,0 ,120 ,0 );
strip_pin5.setPixelColor(6,0 ,120 ,0 );
strip_pin5.setPixelColor(7,0 ,120 ,0 );
strip_pin5.show();
Unterprogramm12();
}
if (( !( digitalRead(3) ) && ( ( fehlerlinks ) == ( 0 ) ) ))
{
Unterprogramm9();
strip_pin5.setBrightness(helligkeit);
strip_pin5.setPixelColor(5,0 ,0 ,120 );
strip_pin5.setPixelColor(6,0 ,0 ,120 );
strip_pin5.setPixelColor(7,0 ,0 ,120 );
strip_pin5.setPixelColor(0,0 ,120 ,0 );
strip_pin5.setPixelColor(1,0 ,120 ,0 );
strip_pin5.setPixelColor(2,0 ,120 ,0 );
strip_pin5.show();
Unterprogramm12();
}
}

void Unterprogramm1()
{
if (( !( digitalRead(10) ) && ( ( startrechts ) == ( 1 ) ) ))
{
fehlerrechts = 0 ;
strip_pin5.setBrightness(helligkeit);
strip_pin5.setPixelColor(0,120 ,0 ,0 );
strip_pin5.setPixelColor(1,120 ,0 ,0 );
strip_pin5.setPixelColor(2,120 ,0 ,0 );
strip_pin5.show();
}
if (( !( digitalRead(12) ) && ( ( startlinks ) == ( 1 ) ) ))
{
fehlerlinks = 0 ;
strip_pin5.setBrightness(helligkeit);
strip_pin5.setPixelColor(5,120 ,0 ,0 );
strip_pin5.setPixelColor(6,120 ,0 ,0 );
strip_pin5.setPixelColor(7,120 ,0 ,0 );
strip_pin5.show();
}
}

void Unterprogramm2()
{
if (( ( ( startrechts ) == ( 1 ) ) && !( digitalRead(9) ) ))
{
fehlerrechts = 1 ;
strip_pin5.setBrightness(helligkeit);
strip_pin5.setPixelColor(0,0 ,120 ,0 );
strip_pin5.setPixelColor(1,0 ,120 ,0 );
strip_pin5.setPixelColor(2,0 ,120 ,0 );
strip_pin5.show();
}
if (( ( ( startlinks ) == ( 1 ) ) && !( digitalRead(11) ) ))
{
fehlerlinks = 1 ;
strip_pin5.setBrightness(helligkeit);
strip_pin5.setPixelColor(5,0 ,120 ,0 );
strip_pin5.setPixelColor(6,0 ,120 ,0 );
strip_pin5.setPixelColor(7,0 ,120 ,0 );
strip_pin5.show();
}
}

void Unterprogramm8()
{
strip_pin5.setBrightness(helligkeit);
strip_pin5.setPixelColor(0,0 ,0 ,0 );
strip_pin5.setPixelColor(1,0 ,0 ,0 );
strip_pin5.setPixelColor(2,0 ,0 ,0 );
strip_pin5.setPixelColor(3,0 ,0 ,70 );
strip_pin5.setPixelColor(4,0 ,0 ,70 );
strip_pin5.setPixelColor(5,0 ,0 ,0 );
strip_pin5.setPixelColor(6,0 ,0 ,0 );
strip_pin5.setPixelColor(7,0 ,0 ,0 );
strip_pin5.show();
}

Kontaktformular

Mittlerweile bekomme ich relativ viele Anfragen insbesondere zur Arduino Programmierung. Ich helfe gern, schreibe auch mal den ein oder anderen Code und helfe auch sonst gerne weiter, wenn ich kann. Als kleines Dankeschön für einen fertigen Code, für eine Antwort die weitergeholfen hat oder ein Problem dass ich lösen konnte, würde ich mich über einen Besuch meiner Amazon Wunschliste freuen. Hier gibt für das kleine und große Danke alles zu finden. Versteht mich nicht falsch aber ich mache diese Seite einfach so in meiner Freizeit, neben meinem Beruf, Familie, Kinder, Haus und Ehrenamt, da freut man sich über ein kleines Dankeschön einfach. Es muss aber nicht unbedingt Amazon sein, über ein paypal Dankeschön freue ich mich auch. 

Amazon Wunschliste von Ronnie.

Palypal Seite von Ronnie.

 

Hier geht es zum Kontaktformular.

heißer draht mit zwei servomotoren

Heißer Draht bei dem hilfe von zwei Servomatoren die Zeit und die Fehler angezeigt werden. 

heisser draht servo auf steckplatine schaltplan

 


 

#include <Servo.h>

int startstopp = 0 ;
int fehler = 0 ;
int zeit = 0 ;
int servo = 0 ;
int start = 0 ;
Servo servo_pin_9;
Servo servo_pin_11;

void Unterprogramm1();
void Unterprogramm3();

void setup()
{
pinMode( 3 , INPUT);
pinMode( 2 , INPUT);
digitalWrite(3, HIGH);
digitalWrite(2, HIGH);
pinMode( 7 , OUTPUT);
servo_pin_11.attach(11);
servo_pin_9.attach(9);
Serial.begin(9600);
pinMode( 7 , OUTPUT);


startstopp = 0 ;

fehler = 0 ;

zeit = 1000 ;

servo = 5 ;

start = 0 ;

digitalWrite( 7 , LOW );

servo_pin_9.attach(9);
servo_pin_11.attach(11);
servo_pin_11.write( 0 );

servo_pin_9.write( 5 );

delay( 1000 );

servo_pin_9.detach();

servo_pin_11.detach();

}

void loop()
{
Serial.print("startstopp");
Serial.print(startstopp);
Serial.println();
if (!( digitalRead(2) ))
{
startstopp = ( startstopp + 1 ) ;
delay( 1000 );
Serial.print("startstopp");
Serial.print(startstopp);
Serial.println();
}
if (( ( startstopp ) == ( 1 ) ))
{
servo_pin_9.attach(9);
long current=millis();
while(current+6000>=millis())
{
if (( ( 180 ) >= ( servo ) ))
{
servo_pin_9.attach(9);
servo_pin_9.write( servo );
}
if (( ( 181 ) <= ( servo ) ))
{
digitalWrite( 7 , HIGH );
delay( 2000 );
digitalWrite( 7 , LOW );
startstopp = ( startstopp + 1 ) ;
delay( 500 );
Serial.print("startstopp");
Serial.print(startstopp);
Serial.println();
}
if (!( digitalRead(2) ))
{
startstopp = ( startstopp + 1 ) ;
delay( 1000 );
Serial.print("startstopp");
Serial.print(startstopp);
Serial.println();
}
if (!( digitalRead(3) ))
{
servo = ( servo + 5 ) ;
fehler = ( fehler + 1 ) ;
Unterprogramm1();
}
}
servo = ( servo + 6 ) ;
Serial.print("servo");
Serial.print(servo);
Serial.println();
}
if (( ( startstopp ) == ( 2 ) ))
{
servo_pin_11.detach();
servo_pin_9.detach();
digitalWrite( 7 , LOW );
}
if (( ( ( startstopp ) == ( 3 ) ) || ( ( ( startstopp ) == ( 4 ) ) || ( ( startstopp ) == ( 5 ) ) ) ))
{
startstopp = 0 ;
fehler = 0 ;
zeit = 1000 ;
servo = 5 ;
start = 0 ;
digitalWrite( 7 , LOW );
servo_pin_9.attach(9);
servo_pin_11.attach(11);
servo_pin_11.write( 0 );
servo_pin_9.write( 5 );
delay( 500 );
servo_pin_9.detach();
servo_pin_11.detach();
}
}

void Unterprogramm3()
{
digitalWrite( 7 , HIGH );
delay( 1000 );
digitalWrite( 7 , LOW );
servo_pin_11.detach();
}

void Unterprogramm1()
{
if (( ( fehler ) == ( 1 ) ))
{
servo_pin_11.attach(11);
delay( 5 );
servo_pin_11.write( 18 );
Unterprogramm3();
}
if (( ( fehler ) == ( 2 ) ))
{
servo_pin_11.attach(11);
delay( 5 );
servo_pin_11.write( 36 );
Unterprogramm3();
}
if (( ( fehler ) == ( 3 ) ))
{
servo_pin_11.attach(11);
delay( 5 );
servo_pin_11.write( 54 );
Unterprogramm3();
}
if (( ( fehler ) == ( 4 ) ))
{
servo_pin_11.attach(11);
delay( 5 );
servo_pin_11.write( 72 );
Unterprogramm3();
}
if (( ( fehler ) == ( 5 ) ))
{
servo_pin_11.attach(11);
delay( 5 );
servo_pin_11.write( 90 );
Unterprogramm3();
}
if (( ( fehler ) == ( 6 ) ))
{
servo_pin_11.attach(11);
delay( 5 );
servo_pin_11.write( 108 );
Unterprogramm3();
}
if (( ( fehler ) == ( 7 ) ))
{
servo_pin_11.attach(11);
delay( 5 );
servo_pin_11.write( 126 );
Unterprogramm3();
}
if (( ( fehler ) == ( 8 ) ))
{
servo_pin_11.attach(11);
delay( 5 );
servo_pin_11.write( 144 );
Unterprogramm3();
}
if (( ( fehler ) == ( 9 ) ))
{
servo_pin_11.attach(11);
delay( 5 );
servo_pin_11.write( 162 );
Unterprogramm3();
}
if (( ( fehler ) == ( 10 ) ))
{
digitalWrite( 7 , HIGH );
delay( 2000 );
digitalWrite( 7 , LOW );
servo_pin_11.attach(11);
delay( 10 );
servo_pin_11.write( 180 );
delay( 1000 );
servo_pin_11.detach();
fehler = 0 ;
startstopp = 3 ;
}
}

 

heisser Draht spiel mit 8x8 LED Matrix Arduino Code

 

 

8x8 led matrix heissen draht bauen zahlen

 

Code


#include <Sprite.h>
#include <Matrix.h>

int fehler = 0 ;
int zeit ;

Matrix mesLeds121110 = Matrix(12,11,10,1);
int X[] = {
0,7,6,5,4,3,2,1};
int Y[] = {
7,6,5,4,3,2,1,0};

void Unterprogramm0();

void setup()
{
pinMode( 7 , INPUT);
pinMode( 5 , OUTPUT);
mesLeds121110.clear();
mesLeds121110.setBrightness(15);
fehler = 0 ;
delay(5);

{
for (zeit; zeit<= ( 5 ); ++zeit )
{
mesLeds121110.write(X[0],Y[1],HIGH);
mesLeds121110.write(X[1],Y[1],HIGH);
mesLeds121110.write(X[2],Y[1],HIGH);
mesLeds121110.write(X[3],Y[1],HIGH);
mesLeds121110.write(X[4],Y[1],HIGH);
mesLeds121110.write(X[5],Y[1],HIGH);
mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[7],Y[1],HIGH);

mesLeds121110.write(X[0],Y[2],HIGH);
mesLeds121110.write(X[1],Y[2],HIGH);
mesLeds121110.write(X[2],Y[2],HIGH);
mesLeds121110.write(X[3],Y[2],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[5],Y[2],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[7],Y[2],HIGH);

mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[5],Y[5],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);

mesLeds121110.write(X[0],Y[6],HIGH);
mesLeds121110.write(X[1],Y[6],HIGH);
mesLeds121110.write(X[2],Y[6],HIGH);
mesLeds121110.write(X[3],Y[6],HIGH);
mesLeds121110.write(X[4],Y[6],HIGH);
mesLeds121110.write(X[5],Y[6],HIGH);
mesLeds121110.write(X[6],Y[6],HIGH);
mesLeds121110.write(X[7],Y[6],HIGH);

mesLeds121110.write(X[7],Y[3],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);
mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);

mesLeds121110.write(X[0],Y[3],HIGH);
mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[1],Y[3],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);

delay(300);

mesLeds121110.write(X[0],Y[1],LOW);
mesLeds121110.write(X[1],Y[1],LOW);
mesLeds121110.write(X[2],Y[1],LOW);
mesLeds121110.write(X[3],Y[1],LOW);
mesLeds121110.write(X[4],Y[1],LOW);
mesLeds121110.write(X[5],Y[1],LOW);
mesLeds121110.write(X[6],Y[1],LOW);
mesLeds121110.write(X[7],Y[1],LOW);

mesLeds121110.write(X[0],Y[2],LOW);
mesLeds121110.write(X[1],Y[2],LOW);
mesLeds121110.write(X[2],Y[2],LOW);
mesLeds121110.write(X[3],Y[2],LOW);
mesLeds121110.write(X[4],Y[2],LOW);
mesLeds121110.write(X[5],Y[2],LOW);
mesLeds121110.write(X[6],Y[2],LOW);
mesLeds121110.write(X[7],Y[2],LOW);

mesLeds121110.write(X[0],Y[5],LOW);
mesLeds121110.write(X[1],Y[5],LOW);
mesLeds121110.write(X[2],Y[5],LOW);
mesLeds121110.write(X[3],Y[5],LOW);
mesLeds121110.write(X[4],Y[5],LOW);
mesLeds121110.write(X[5],Y[5],LOW);
mesLeds121110.write(X[6],Y[5],LOW);
mesLeds121110.write(X[7],Y[5],LOW);

mesLeds121110.write(X[0],Y[6],LOW);
mesLeds121110.write(X[1],Y[6],LOW);
mesLeds121110.write(X[2],Y[6],LOW);
mesLeds121110.write(X[3],Y[6],LOW);
mesLeds121110.write(X[4],Y[6],LOW);
mesLeds121110.write(X[5],Y[6],LOW);
mesLeds121110.write(X[6],Y[6],LOW);
mesLeds121110.write(X[7],Y[6],LOW);

mesLeds121110.write(X[7],Y[3],LOW);
mesLeds121110.write(X[7],Y[4],LOW);
mesLeds121110.write(X[6],Y[3],LOW);
mesLeds121110.write(X[6],Y[4],LOW);

mesLeds121110.write(X[0],Y[3],LOW);
mesLeds121110.write(X[0],Y[4],LOW);
mesLeds121110.write(X[1],Y[3],LOW);
mesLeds121110.write(X[1],Y[4],LOW);

delay (300);

}

mesLeds121110.write(X[0],Y[1],HIGH);
mesLeds121110.write(X[1],Y[1],HIGH);
mesLeds121110.write(X[2],Y[1],HIGH);
mesLeds121110.write(X[3],Y[1],HIGH);
mesLeds121110.write(X[4],Y[1],HIGH);
mesLeds121110.write(X[5],Y[1],HIGH);
mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[7],Y[1],HIGH);

mesLeds121110.write(X[0],Y[2],HIGH);
mesLeds121110.write(X[1],Y[2],HIGH);
mesLeds121110.write(X[2],Y[2],HIGH);
mesLeds121110.write(X[3],Y[2],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[5],Y[2],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[7],Y[2],HIGH);

mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[5],Y[5],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);

mesLeds121110.write(X[0],Y[6],HIGH);
mesLeds121110.write(X[1],Y[6],HIGH);
mesLeds121110.write(X[2],Y[6],HIGH);
mesLeds121110.write(X[3],Y[6],HIGH);
mesLeds121110.write(X[4],Y[6],HIGH);
mesLeds121110.write(X[5],Y[6],HIGH);
mesLeds121110.write(X[6],Y[6],HIGH);
mesLeds121110.write(X[7],Y[6],HIGH);

mesLeds121110.write(X[7],Y[3],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);
mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);

mesLeds121110.write(X[0],Y[3],HIGH);
mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[1],Y[3],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);

}

}

void loop()
{
if (digitalRead(7))
{
fehler = ( fehler + 1 ) ;
digitalWrite( 5 , HIGH );
delay( 200 );
Unterprogramm0();
delay( 50 );

if (( ( fehler ) == ( 1 ) ))
{

mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);
mesLeds121110.write(X[2],Y[4],HIGH);
mesLeds121110.write(X[3],Y[4],HIGH);
mesLeds121110.write(X[4],Y[4],HIGH);
mesLeds121110.write(X[5],Y[4],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);

mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[5],Y[5],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);

mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[5],Y[2],HIGH);
mesLeds121110.write(X[4],Y[1],HIGH);

mesLeds121110.write(X[5],Y[3],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[3],Y[1],HIGH);

delay( 600 );
digitalWrite( 5 , LOW );

}

if (( ( fehler ) == ( 2 ) ))
{

mesLeds121110.write(X[7],Y[1],HIGH);
mesLeds121110.write(X[7],Y[2],HIGH);
mesLeds121110.write(X[7],Y[3],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);
mesLeds121110.write(X[7],Y[6],HIGH);

mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[6],Y[6],HIGH);

mesLeds121110.write(X[4],Y[1],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[4],Y[3],HIGH);
mesLeds121110.write(X[4],Y[4],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[4],Y[6],HIGH);

mesLeds121110.write(X[3],Y[1],HIGH);
mesLeds121110.write(X[3],Y[2],HIGH);
mesLeds121110.write(X[3],Y[3],HIGH);
mesLeds121110.write(X[3],Y[4],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[3],Y[6],HIGH);

mesLeds121110.write(X[1],Y[1],HIGH);
mesLeds121110.write(X[1],Y[2],HIGH);
mesLeds121110.write(X[1],Y[3],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[1],Y[6],HIGH);

mesLeds121110.write(X[0],Y[1],HIGH);
mesLeds121110.write(X[0],Y[2],HIGH);
mesLeds121110.write(X[0],Y[3],HIGH);
mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[0],Y[6],HIGH);

mesLeds121110.write(X[2],Y[1],HIGH);
mesLeds121110.write(X[2],Y[2],HIGH);

mesLeds121110.write(X[5],Y[5],HIGH);
mesLeds121110.write(X[5],Y[6],HIGH);

delay( 600 );
digitalWrite( 5 , LOW );

}

if (( ( fehler ) == ( 3 ) ))
{

mesLeds121110.write(X[7],Y[1],HIGH);
mesLeds121110.write(X[7],Y[2],HIGH);
mesLeds121110.write(X[7],Y[3],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);
mesLeds121110.write(X[7],Y[6],HIGH);

mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[6],Y[6],HIGH);

mesLeds121110.write(X[4],Y[1],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[4],Y[3],HIGH);
mesLeds121110.write(X[4],Y[4],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[4],Y[6],HIGH);

mesLeds121110.write(X[3],Y[1],HIGH);
mesLeds121110.write(X[3],Y[2],HIGH);
mesLeds121110.write(X[3],Y[3],HIGH);
mesLeds121110.write(X[3],Y[4],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[3],Y[6],HIGH);

mesLeds121110.write(X[1],Y[1],HIGH);
mesLeds121110.write(X[1],Y[2],HIGH);
mesLeds121110.write(X[1],Y[3],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[1],Y[6],HIGH);

mesLeds121110.write(X[0],Y[1],HIGH);
mesLeds121110.write(X[0],Y[2],HIGH);
mesLeds121110.write(X[0],Y[3],HIGH);
mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[0],Y[6],HIGH);

mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[2],Y[6],HIGH);

mesLeds121110.write(X[5],Y[5],HIGH);
mesLeds121110.write(X[5],Y[6],HIGH);

delay( 600 );
digitalWrite( 5 , LOW );

}


if (( ( fehler ) == ( 4 ) ))
{

mesLeds121110.write(X[7],Y[1],HIGH);
mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[5],Y[1],HIGH);
mesLeds121110.write(X[4],Y[1],HIGH);
mesLeds121110.write(X[3],Y[1],HIGH);
mesLeds121110.write(X[2],Y[1],HIGH);

mesLeds121110.write(X[7],Y[2],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[5],Y[2],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[3],Y[2],HIGH);
mesLeds121110.write(X[2],Y[2],HIGH);

mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);

mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);
mesLeds121110.write(X[2],Y[4],HIGH);
mesLeds121110.write(X[3],Y[4],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);

mesLeds121110.write(X[2],Y[3],HIGH);
mesLeds121110.write(X[3],Y[3],HIGH);

mesLeds121110.write(X[4],Y[4],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);

mesLeds121110.write(X[2],Y[6],HIGH);
mesLeds121110.write(X[3],Y[6],HIGH);

delay( 600 );
digitalWrite( 5 , LOW );

}

if (( ( fehler ) == ( 5 ) ))
{

mesLeds121110.write(X[7],Y[1],HIGH);
mesLeds121110.write(X[7],Y[2],HIGH);
mesLeds121110.write(X[7],Y[3],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);
mesLeds121110.write(X[7],Y[6],HIGH);

mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[6],Y[6],HIGH);

mesLeds121110.write(X[4],Y[1],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[4],Y[3],HIGH);
mesLeds121110.write(X[4],Y[4],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[4],Y[6],HIGH);

mesLeds121110.write(X[3],Y[1],HIGH);
mesLeds121110.write(X[3],Y[2],HIGH);
mesLeds121110.write(X[3],Y[3],HIGH);
mesLeds121110.write(X[3],Y[4],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[3],Y[6],HIGH);

mesLeds121110.write(X[1],Y[1],HIGH);
mesLeds121110.write(X[1],Y[2],HIGH);
mesLeds121110.write(X[1],Y[3],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[1],Y[6],HIGH);

mesLeds121110.write(X[0],Y[1],HIGH);
mesLeds121110.write(X[0],Y[2],HIGH);
mesLeds121110.write(X[0],Y[3],HIGH);
mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[0],Y[6],HIGH);

mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[2],Y[6],HIGH);

mesLeds121110.write(X[5],Y[1],HIGH);
mesLeds121110.write(X[5],Y[2],HIGH);

delay( 600 );
digitalWrite( 5 , LOW );

}


if (( ( fehler ) == ( 6 ) ))
{

mesLeds121110.write(X[7],Y[1],HIGH);
mesLeds121110.write(X[7],Y[2],HIGH);
mesLeds121110.write(X[7],Y[3],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);
mesLeds121110.write(X[7],Y[6],HIGH);

mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[6],Y[6],HIGH);

mesLeds121110.write(X[4],Y[1],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[4],Y[3],HIGH);
mesLeds121110.write(X[4],Y[4],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[4],Y[6],HIGH);

mesLeds121110.write(X[3],Y[1],HIGH);
mesLeds121110.write(X[3],Y[2],HIGH);
mesLeds121110.write(X[3],Y[3],HIGH);
mesLeds121110.write(X[3],Y[4],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[3],Y[6],HIGH);

mesLeds121110.write(X[1],Y[1],HIGH);
mesLeds121110.write(X[1],Y[2],HIGH);
mesLeds121110.write(X[1],Y[3],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[1],Y[6],HIGH);

mesLeds121110.write(X[0],Y[1],HIGH);
mesLeds121110.write(X[0],Y[2],HIGH);
mesLeds121110.write(X[0],Y[3],HIGH);
mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[0],Y[6],HIGH);

mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[2],Y[6],HIGH);

mesLeds121110.write(X[5],Y[1],HIGH);
mesLeds121110.write(X[5],Y[2],HIGH);

mesLeds121110.write(X[2],Y[1],HIGH);
mesLeds121110.write(X[2],Y[2],HIGH);

delay( 600 );
digitalWrite( 5 , LOW );

}

if (( ( fehler ) == ( 7 ) ))
{

mesLeds121110.write(X[0],Y[3],HIGH);
mesLeds121110.write(X[1],Y[3],HIGH);
mesLeds121110.write(X[2],Y[4],HIGH);
mesLeds121110.write(X[3],Y[4],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[5],Y[5],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);

mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);
mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[4],Y[6],HIGH);
mesLeds121110.write(X[5],Y[6],HIGH);
mesLeds121110.write(X[6],Y[6],HIGH);
mesLeds121110.write(X[7],Y[6],HIGH);

mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);

mesLeds121110.write(X[7],Y[1],HIGH);
mesLeds121110.write(X[7],Y[2],HIGH);
mesLeds121110.write(X[7],Y[3],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);


delay( 600 );
digitalWrite( 5 , LOW );

}



if (( ( fehler ) == ( 8 ) ))
{

mesLeds121110.write(X[7],Y[1],HIGH);
mesLeds121110.write(X[7],Y[2],HIGH);
mesLeds121110.write(X[7],Y[3],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);
mesLeds121110.write(X[7],Y[6],HIGH);

mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[6],Y[6],HIGH);

mesLeds121110.write(X[4],Y[1],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[4],Y[3],HIGH);
mesLeds121110.write(X[4],Y[4],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[4],Y[6],HIGH);

mesLeds121110.write(X[3],Y[1],HIGH);
mesLeds121110.write(X[3],Y[2],HIGH);
mesLeds121110.write(X[3],Y[3],HIGH);
mesLeds121110.write(X[3],Y[4],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[3],Y[6],HIGH);

mesLeds121110.write(X[1],Y[1],HIGH);
mesLeds121110.write(X[1],Y[2],HIGH);
mesLeds121110.write(X[1],Y[3],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[1],Y[6],HIGH);

mesLeds121110.write(X[0],Y[1],HIGH);
mesLeds121110.write(X[0],Y[2],HIGH);
mesLeds121110.write(X[0],Y[3],HIGH);
mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[0],Y[6],HIGH);

mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[2],Y[6],HIGH);

mesLeds121110.write(X[5],Y[1],HIGH);
mesLeds121110.write(X[5],Y[2],HIGH);

mesLeds121110.write(X[2],Y[1],HIGH);
mesLeds121110.write(X[2],Y[2],HIGH);

mesLeds121110.write(X[5],Y[5],HIGH);
mesLeds121110.write(X[5],Y[6],HIGH);

delay( 600 );
digitalWrite( 5 , LOW );

}


if (( ( fehler ) == ( 9 ) ))
{

mesLeds121110.write(X[7],Y[1],HIGH);
mesLeds121110.write(X[7],Y[2],HIGH);
mesLeds121110.write(X[7],Y[3],HIGH);
mesLeds121110.write(X[7],Y[4],HIGH);
mesLeds121110.write(X[7],Y[5],HIGH);
mesLeds121110.write(X[7],Y[6],HIGH);

mesLeds121110.write(X[6],Y[1],HIGH);
mesLeds121110.write(X[6],Y[2],HIGH);
mesLeds121110.write(X[6],Y[3],HIGH);
mesLeds121110.write(X[6],Y[4],HIGH);
mesLeds121110.write(X[6],Y[5],HIGH);
mesLeds121110.write(X[6],Y[6],HIGH);

mesLeds121110.write(X[4],Y[1],HIGH);
mesLeds121110.write(X[4],Y[2],HIGH);
mesLeds121110.write(X[4],Y[3],HIGH);
mesLeds121110.write(X[4],Y[4],HIGH);
mesLeds121110.write(X[4],Y[5],HIGH);
mesLeds121110.write(X[4],Y[6],HIGH);

mesLeds121110.write(X[3],Y[1],HIGH);
mesLeds121110.write(X[3],Y[2],HIGH);
mesLeds121110.write(X[3],Y[3],HIGH);
mesLeds121110.write(X[3],Y[4],HIGH);
mesLeds121110.write(X[3],Y[5],HIGH);
mesLeds121110.write(X[3],Y[6],HIGH);

mesLeds121110.write(X[1],Y[1],HIGH);
mesLeds121110.write(X[1],Y[2],HIGH);
mesLeds121110.write(X[1],Y[3],HIGH);
mesLeds121110.write(X[1],Y[4],HIGH);
mesLeds121110.write(X[1],Y[5],HIGH);
mesLeds121110.write(X[1],Y[6],HIGH);

mesLeds121110.write(X[0],Y[1],HIGH);
mesLeds121110.write(X[0],Y[2],HIGH);
mesLeds121110.write(X[0],Y[3],HIGH);
mesLeds121110.write(X[0],Y[4],HIGH);
mesLeds121110.write(X[0],Y[5],HIGH);
mesLeds121110.write(X[0],Y[6],HIGH);

mesLeds121110.write(X[2],Y[5],HIGH);
mesLeds121110.write(X[2],Y[6],HIGH);

mesLeds121110.write(X[5],Y[1],HIGH);
mesLeds121110.write(X[5],Y[2],HIGH);

mesLeds121110.write(X[5],Y[5],HIGH);
mesLeds121110.write(X[5],Y[6],HIGH);

delay( 600 );
digitalWrite( 5 , LOW );
delay( 32000 );
delay( 32000 );
delay( 32000 );
delay( 32000 );
delay( 32000 );
delay( 32000 );
delay( 32000 );
delay( 32000 );
delay( 32000 );
}

}
}


void Unterprogramm0()
{
mesLeds121110.write(X[0],Y[0],LOW);
mesLeds121110.write(X[0],Y[1],LOW);
mesLeds121110.write(X[0],Y[2],LOW);
mesLeds121110.write(X[0],Y[3],LOW);
mesLeds121110.write(X[0],Y[4],LOW);
mesLeds121110.write(X[0],Y[5],LOW);
mesLeds121110.write(X[0],Y[6],LOW);
mesLeds121110.write(X[0],Y[7],LOW);

mesLeds121110.write(X[1],Y[0],LOW);
mesLeds121110.write(X[1],Y[1],LOW);
mesLeds121110.write(X[1],Y[2],LOW);
mesLeds121110.write(X[1],Y[3],LOW);
mesLeds121110.write(X[1],Y[4],LOW);
mesLeds121110.write(X[1],Y[5],LOW);
mesLeds121110.write(X[1],Y[6],LOW);
mesLeds121110.write(X[1],Y[7],LOW);

mesLeds121110.write(X[2],Y[0],LOW);
mesLeds121110.write(X[2],Y[1],LOW);
mesLeds121110.write(X[2],Y[2],LOW);
mesLeds121110.write(X[2],Y[3],LOW);
mesLeds121110.write(X[2],Y[4],LOW);
mesLeds121110.write(X[2],Y[5],LOW);
mesLeds121110.write(X[2],Y[6],LOW);
mesLeds121110.write(X[2],Y[7],LOW);

mesLeds121110.write(X[3],Y[0],LOW);
mesLeds121110.write(X[3],Y[1],LOW);
mesLeds121110.write(X[3],Y[2],LOW);
mesLeds121110.write(X[3],Y[3],LOW);
mesLeds121110.write(X[3],Y[4],LOW);
mesLeds121110.write(X[3],Y[5],LOW);
mesLeds121110.write(X[3],Y[6],LOW);
mesLeds121110.write(X[3],Y[7],LOW);

mesLeds121110.write(X[4],Y[0],LOW);
mesLeds121110.write(X[4],Y[1],LOW);
mesLeds121110.write(X[4],Y[2],LOW);
mesLeds121110.write(X[4],Y[3],LOW);
mesLeds121110.write(X[4],Y[4],LOW);
mesLeds121110.write(X[4],Y[5],LOW);
mesLeds121110.write(X[4],Y[6],LOW);
mesLeds121110.write(X[4],Y[7],LOW);

mesLeds121110.write(X[5],Y[0],LOW);
mesLeds121110.write(X[5],Y[1],LOW);
mesLeds121110.write(X[5],Y[2],LOW);
mesLeds121110.write(X[5],Y[3],LOW);
mesLeds121110.write(X[5],Y[4],LOW);
mesLeds121110.write(X[5],Y[5],LOW);
mesLeds121110.write(X[5],Y[6],LOW);
mesLeds121110.write(X[5],Y[7],LOW);

mesLeds121110.write(X[6],Y[0],LOW);
mesLeds121110.write(X[6],Y[1],LOW);
mesLeds121110.write(X[6],Y[2],LOW);
mesLeds121110.write(X[6],Y[3],LOW);
mesLeds121110.write(X[6],Y[4],LOW);
mesLeds121110.write(X[6],Y[5],LOW);
mesLeds121110.write(X[6],Y[6],LOW);
mesLeds121110.write(X[6],Y[7],LOW);

mesLeds121110.write(X[7],Y[0],LOW);
mesLeds121110.write(X[7],Y[1],LOW);
mesLeds121110.write(X[7],Y[2],LOW);
mesLeds121110.write(X[7],Y[3],LOW);
mesLeds121110.write(X[7],Y[4],LOW);
mesLeds121110.write(X[7],Y[5],LOW);
mesLeds121110.write(X[7],Y[6],LOW);
mesLeds121110.write(X[7],Y[7],LOW);

}