LCD Animation: JAWS

This was quite an intensive (at least for me) project. In case you’re wondering the piezo doesn’t play nicely with Mavericks. Every other time I uploaded the code with the music (ish) portion, my computer shut down. It’s a brand new retina pro. That shouldn’t happen and it never has except for with this fun activity. You know what I finally remembered to do after the sixth time it shut down? Save the damn thing.

Anyway, I made a little Jaws tribute. I thought the waves would be the hardest part, but once I got them working once, they were a breeze to replicate. Turns out counting spaces was a big challenge. And, you know, learning to read sheet music. As one does.

Also sometimes it’s in binary, sometime’s hex, sometimes dec. Just for fun.

Here’s my code.

#include

SoftwareSerial LCD (6, 7);
int man = 0; //oddly 0 doesn’t work up in here, so we shall call 0 and stick it to him.

void setup()
{
LCD.begin(9600);
LCD.write(0x0C); //clear, yo
delay(5); //always followed by a slight delay
LCD.write(0x11); //turn on backlight
LCD.print(” the go network “);
LCD.print(” presents”); //title, mhmm.

delay(1500);
LCD.write(0x0C);
delay(5);

LCD.write(216); //select 4th damn scale

//slowest theme full note breath
LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(214); //full note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(214); //full note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(214); //full note
LCD.write(232); //breathe

//slightly faster, 1/2 note breath
LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(213); //1/2 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(213); //1/2 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(213); //1/2 note
LCD.write(232); //breathe

//slightly faster 1/4 note breath
LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(212); //1/4 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(212); //1/4 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(212); //1/4 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(212); //1/4 note
LCD.write(232); //breathe

//slightly faster 1/8 note breath
LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(211); //1/8 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(211); //1/8 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(211); //1/8 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(211); //1/8 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(211); //1/8 note
LCD.write(232); //breathe

//slightly faster 1/16 note breath
LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(210); //1/16 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(210); //1/16 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(210); //1/16 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(210); //1/16 note
LCD.write(232); //breathe

//slightly faster 1/32 note breath
LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(209); //1/32 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(209); //1/32 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(209); //1/32 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(209); //1/32 note
LCD.write(232); //breathe

//faster 1/64 note breath
LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(208); //1/64 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(208); //1/64 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(208); //1/64 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(208); //1/64 note
LCD.write(232); //breathe

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note
LCD.write(208); //1/64 note
LCD.write(232); //breathe

//fastest no breath
LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note

LCD.write(213); //1/2 note
LCD.write(222); //b note
LCD.write(212); //1/4 note
LCD.write(223); //c note

boat(); //void boat
LCD.write(2); //third custom character, which just so happens to be my adorable boat
LCD.print(” “); //spaces after
wave1(); //void wave 1
wave2(); //void wave 2
LCD.write(4); //wave sequence
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before boat
LCD.write(2); //boat
LCD.print(” “); //space after
LCD.write(3); //waves!
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(2);
LCD.print(“”);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

customCharacter(); //void stick man (not to be confused with zero)
LCD.write(man); //first custom character, zero level, the man.
LCD.print(” “); //spaces after
wave1(); //void wave 1
wave2(); //void wave 2
LCD.write(4); //wave sequence
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before man
LCD.write(man); //man
LCD.print(” “); //space after
LCD.write(3); //waves!
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

customCharacter2(); //void shark fin
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(man);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(man);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(man);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(man);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(man);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(man);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(1); //shark fin
LCD.write(man);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(1); //shark fin took over
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

noArm();
LCD.print(” “);
LCD.write(5); //noArm
LCD.print(” “);
LCD.write(1); //sharkfin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(5);
LCD.print(” “);
LCD.write(1);
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(5);
LCD.print(” “);
LCD.write(1);
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “);
LCD.write(5);
LCD.print(” “);
LCD.write(1);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “);
LCD.write(5);
LCD.print(” “);
LCD.write(1);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

noLeg(); //void noLeg man
LCD.write(1); //shark fin
LCD.print(” “); //spaces after
LCD.write(5); //noArm
LCD.print(” “);
LCD.write(4); //wave sequence
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “); //space after
LCD.write(5); //noArm
LCD.print(” “);
LCD.write(3); //waves!
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “); //space after
LCD.write(5); //noArm
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “); //space after
LCD.write(5); //noArm
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “); //space after
LCD.write(5); //noArm
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.write(5); //noArm
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(6); //noLeg
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(1); //shark fin
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

noHead(); //void noHead man
LCD.write(1); //shark fin
LCD.print(” “); //spaces after
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(4); //wave sequence
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “); //space after
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(3); //waves!
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “); //space after
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “); //space after
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “); //space after
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.write(6); //noLeg
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(7); //noHead
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(1); //shark fin
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(1); //shark fin
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

//last scene

LCD.write(2); //boat
LCD.print(” “); //spaces after
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(4); //wave sequence
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(2); //boat
LCD.print(” “); //space after
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(3); //waves!
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(2); //boat
LCD.print(” “); //space after
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(2); //boat
LCD.print(” “); //space after
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(2); //boat
LCD.print(” “); //space after
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(2); //boat
LCD.write(7); //noHead
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.write(2); //boat
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.write(2); //boat ahahahaha
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.print(” “);
LCD.write(2); //boat
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.print(” “);
LCD.write(2); //boat
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.print(” “);
LCD.write(2); //boat
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.print(” “);
LCD.write(2); //boat
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.print(” “);
LCD.write(2); //boat
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.print(” “);
LCD.write(2); //boat
LCD.print(” “);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.print(” “); //space before fin
LCD.print(” “);
LCD.write(2); //boat
LCD.print(” “);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
delay(500);

LCD.print(” “); //space before fin
LCD.print(” “);
LCD.write(2); //boat
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
LCD.write(3);
LCD.write(4);
delay(500);

LCD.write(0x0C); //clear, yo
delay(5); //always followed by a slight delay
LCD.print(” #jaws”); //title, mhmm.
}

void loop(){
}

void customCharacter () {
LCD.write(0xF8);
LCD.write(B00100);
LCD.write(B01010);
LCD.write(B00100);
LCD.write(B01110);
LCD.write(B00100);
LCD.write(B00100);
LCD.write(B01010);
LCD.write(B01010);
}

void customCharacter2 () {
LCD.write(0xF9);
LCD.write(man);
LCD.write(man);
LCD.write(B10000);
LCD.write(B11000);
LCD.write(B11100);
LCD.write(B11110);
LCD.write(B11111);
LCD.write(B11111);
}

void boat () {
LCD.write(0xFA);
LCD.write(B00100);
LCD.write(B00110);
LCD.write(B00111);
LCD.write(B00100);
LCD.write(B00100);
LCD.write(B11111);
LCD.write(B01110);
LCD.write(B00100);
}

void wave1 () {
LCD.write(0xFB);
LCD.write(man);
LCD.write(man);
LCD.write(B10000);
LCD.write(B11000);
LCD.write(B11100);
LCD.write(B11111);
LCD.write(B11111);
LCD.write(B11111);
}

void wave2 () {
LCD.write(0xFC);
LCD.write(man);
LCD.write(man);
LCD.write(B00001);
LCD.write(B00011);
LCD.write(B00111);
LCD.write(B11111);
LCD.write(B11111);
LCD.write(B11111);
}

void noArm () {
LCD.write(0xFD);
LCD.write(B00100);
LCD.write(B01010);
LCD.write(B00100);
LCD.write(B01100);
LCD.write(B00100);
LCD.write(B00100);
LCD.write(B01010);
LCD.write(B01010);
}

void noLeg () {
LCD.write(0xFE);
LCD.write(B00100);
LCD.write(B01010);
LCD.write(B00100);
LCD.write(B01100);
LCD.write(B00100);
LCD.write(B00100);
LCD.write(B00010);
LCD.write(B00010);
}

void noHead () {
LCD.write(0xFF);
LCD.write(man);
LCD.write(man);
LCD.write(B00100);
LCD.write(B01100);
LCD.write(B00100);
LCD.write(B00100);
LCD.write(B00010);
LCD.write(B00010);
}

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