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0, 1,1,1,1,1,1,0,0};
int W[] = {1,1,1,1,1,1,1,1, 0,0,0,0,0,0,1,0, 0,0,0,0,0,1,0,0, 0,0,0,0,0,0,1,0, 1,1,1,1,1,1,1,1};
int X[] = {1,1,0,0,0,0,1,1, 0,0,1,0,0,1,0,0, 0,0,0,1,1,0,0,0, 0,0,1,0,0,1,0,0, 1,1,0,0,0,0,1,1};
int Y[] = {1,1,0,0,0,0,0,0, 0,0,1,0,0,0,0,0, 0,0,0,1,1,1,1,1, 0,0,1,0,0,0,0,0, 1,1,0,0,0,0,0,0};
int Z[] = {1,0,0,0,0,1,1,1, 1,0,0,0,1,0,0,1, 1,0,0,1,0,0,0,1, 1,0,1,0,0,0,0,1, 1,1,0,0,0,0,0,1};
int* alpha[]= {A,B,C,D,E,F,G,H,I,J,K,L,M,N};//,T,U,V,W,X,Y,Z};
int letterSpace;
int dotTime;
void setup() { Serial.begin(9600);
// setting the ports of the leds to OUTPUT(Eip tech)
for( int i = 2; i<10 ;i++ )
{ pinMode(i, OUTPUT); }
// defining the space between the letters (ms)
letterSpace = 6; // defining the time dots appear (ms)
dotTime =1; }
void printLetter(int letter[])
{
int y;
// printing the first y row of the letter
for (y=0; y<8; y++)
{ digitalWrite(y+2, letter[y]); }
delay(dotTime);
// printing the second y row of the letter
for (y=0; y<8; y++)
{
digitalWrite(y+2, letter[y+8]);
}
delay(dotTime);
// printing the third y row of the letter
//(Eip tech)
for (y=0; y<8; y++)
{
digitalWrite(y+2, letter[y+16]);
}
delay(dotTime);
for(y = 0; y<8; y++)
{
digitalWrite(y+2, letter[y+24]);
}
delay(dotTime);
for(y = 0; y<8; y++)
{
digitalWrite(y+2, letter[y+32]);
}
delay(dotTime);
// printing the sspace between the letters //(Eip tech)
for (y=0; y<8; y++)
{
digitalWrite(y+2, 0);
}
delay(letterSpace);
}
void loop()//write here =)
{
printLetter (E);
printLetter (I);
printLetter (P);
printLetter (_);
printLetter (T);
printLetter (E);
printLetter (C);
printLetter (H);
printLetter (_);
}
Comments
Post a Comment