animation_Kate

I had only few bad commands and completely lost in my code, so i did the most simple thing that i ever saw

 

here is the code

 

#include <SoftwareSerial.h>
SoftwareSerial LCD (6,7); // 6 is RX 7 is TX
int LCDa=0;
int LCDb=1;
int LCDc=2;
int LCDd=3;
int LCDe=4;
int LCDf=5;
int LCDg=6;
int LCDh=7;
int LCDi=8;
void setup() {
  LCD.begin(9600);
  LCD.write(0x0C); // Form Feed – The cursor is moved to position 0 on line 0
                   // and the entire display is cleared.
                   // 0x should be in front of hexadecimal when you want to use
                   // hex number
delay(5);
  LCD.write(0x11); // Turn backlight on
  //LCD.print(“hello world”);
  customCharacter();
  LCD.write(LCDa);
  delay (1000);
  LCD.write(0x0C);
  LCD.write(0x81);
  customCharacterB();
  LCD.write(LCDb);
  delay (1000);
  LCD.write(0x0C);
  LCD.write(0x82);
  customCharacterC();
  LCD.write(LCDc);
  delay (1000);
  LCD.write(0x0C);
  LCD. write(0x83);
  customCharacterD();
  LCD.write(LCDd);
  delay (1000);
  LCD.write(0x0C);
  LCD. write (0x84);
  customCharacterE();
  LCD.write(LCDe);
  delay (1000);
  LCD.write(0x0C);
  LCD. write (0x85);
  customCharacterF();
  LCD. write(LCDf);
  delay (1000);
  LCD.write(0x0C);
  LCD. write(0x86);
  customCharacterG();
  LCD. write(LCDg);
  delay (1000);
  LCD.write(0x0C);
  LCD. write(0X87);
  customCharacterH();
  LCD. write (LCDh);
  delay (1000);
  LCD.write(0x0C);
  LCD.write (0x94);
  customCharacterI();
  LCD.write (LCDi);
  LCD.write(0x0C);
  LCD.print(“music for lost generation”);
}
void loop() {
void customCharacter()
  LCD.write(0xF8);
  LCD.write(0x2);
  LCD.write(0x3);
  LCD.write(0x2);
  LCD.write(0xe);
  LCD.write(0x1e);
  LCD.write(0xc);
  LCD.write(0x3);
  LCD.write(0x3);
 delay(200);
void customCharacterB()
  LCD.write(0xF9);
  LCD.write(0x2);
  LCD.write(0x3);
  LCD.write(0x2);
  LCD.write(0xe);
  LCD.write(0x1e);
  LCD.write(0xc);
  LCD.write(0x3);
  LCD.write(0x3);
 delay(200);
void customCharacterC()
  LCD.write(0xFA);
  LCD.write(0x2);
  LCD.write(0x3);
  LCD.write(0x2);
  LCD.write(0xe);
  LCD.write(0x1e);
  LCD.write(0xc);
  LCD.write(0x3);
  LCD.write(0x3);
delay(200);
 void customCharacterD()
   LCD.write(0xFB);
   LCD.write(0x2);
  LCD.write(0x3);
  LCD.write(0x2);
  LCD.write(0xe);
  LCD.write(0x1e);
  LCD.write(0xc);
  LCD.write(0x3);
  LCD.write(0x3);
delay(200);
void customCharacterE()
  LCD.write(0xFC);
  LCD.write(0x2);
  LCD.write(0x3);
  LCD.write(0x2);
  LCD.write(0xe);
  LCD.write(0x1e);
  LCD.write(0xc);
  LCD.write(0x3);
  LCD.write(0x3);
delay(200);
  void customCharacterF()
  LCD.write(0xFD);
  LCD.write(0x2);
  LCD.write(0x3);
  LCD.write(0x2);
  LCD.write(0xe);
  LCD.write(0x1e);
  LCD.write(0xc);
  LCD.write(0x3);
  LCD.write(0x3);
delay(200);
  void customCharacterG()
  LCD.write(0xFE);
  LCD.write(0x2);
  LCD.write(0x3);
  LCD.write(0x2);
  LCD.write(0xe);
  LCD.write(0x1e);
  LCD.write(0xc);
  LCD.write(0x3);
  LCD.write(0x3);
delay(200);
  void customCharacterH()
  LCD.write(0xFF);
  LCD.write(0x2);
  LCD.write(0x3);
  LCD.write(0x2);
  LCD.write(0xe);
  LCD.write(0x1e);
  LCD.write(0xc);
  LCD.write(0x3);
  LCD.write(0x3);
delay(200);
  void customCharacterI()
  LCD.write(0x09);
  LCD.write(0x2);
  LCD.write(0x3);
  LCD.write(0x2);
  LCD.write(0xe);
  LCD.write(0x1e);
  LCD.write(0xc);
  LCD.write(0x3);
  LCD.write(0x3);
delay(200);
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s