Error coming up in code

copied this code from http://www.jeremyblum.com/2011/07/31/tutorial-13-for-arduino-liquid-crystal-displays/ but when i try to compile i get a error at void set up {}( function definition dose not declare parameters) i highlighted the part that gets this error ... but i can figure out whats wrong ...

 

/*

*RS: Pin 2

*EN: Pin 3

*D4: Pin 4

*D5: Pin 5

*D6: Pin 6

*D7: Pin 7

*/

 

//Include the Lcd Library

#include <LiquidCrystal.h>

 

LiquidCrystal lcd(2,3,4,5,6,7);

 

//Create Characters

byte p20[8] = {

  B100000,

  B100000,

  B100000,

  B100000,

  B100000,

  B100000,

  B100000,

};

byte p40[8] = {

  B11000,

  B11000,

  B11000,

  B11000,

  B11000,

  B11000,

  B11000,

};

 

byte p60[8] = {

  B11100,

  B11100,

  B11100,

  B11100,

  B11100,

  B11100,

  B11100,

};

byte p80[8] = {

  B11110,

  B11110,

  B11110,

  B11110,

  B11110,

  B11110,

  B11110,

};

byte p100[8] = {

  B11111,

  B11111,

  B11111,

  B11111,

  B11111,

  B11111,

  B11111,

};

 

void setup {}     ................................ function definition dose not declare parameters

{

  lcd.begin(16,2)

 

  lcd.print("John's Display");

 

  lcd.createChar(0, p20);

  lcd.createChar(0, p40);

  lcd.createChar(0, p60);

  lcd.createChar(0, p80);

  lcd.createChar(0, p100);

 

}

 

void loop {}

{

  lcd.setCursor(0,1);

 

  lcd.print("                 ");

 

  for (int i = 0; i<16; 1++)

  {

    for (int j = 0; j<5; j++)

    {

      lcd.setCursor(1,1);

      lcd.write(j);

      delay(100);

    }

  }

 

 

 

 

Error

void setup {}

should be void

setup ()

yeah same error in loop

yeah same error in loop {}

must be loop ()

nice 1 thanks … found

nice 1 thanks … found two more after i changed that …( Highlighted them but fixed them in compiler)  … now only one left i cant figure out … it stops compiling on the very last … } …  for some reason error message is expected ‘}’ at end of input … any chance you know the reason for this.

Yes, the loop() is not

Yes, the loop() is not closed by a }. Remember, they are in pairs.

Thanks guys … had that

Thanks guys … had that one forgot to highlight it …  one i couldnt figure out was i needed another } at very end grrrrrrrrrrrr … as i copied code  from a video when it reached the end musnt have shown the very last line with it on it … so after trying loads i stuck one on end and it compiled lol lol … oh well sorted now … looks like learning code is going to be interesting.