4x4 membrane pad

Hey guys,

I'm trying to build a calculator that prints it's output in the serial monitor.
My board is connected to a keypad (4x4 membrane pad).
I corrected the syntax errors in it with an Arduino expert.
But after that I mailed my code to my own e-mail address and I only received half my code.
Luckily, I had another version on my pc back home and I tried fixing the errors myself.
I cant however find them all and arduino keeps saying there's and error.

The second thing is, that the code (buggless) did not work.
When I hit a button on the membrane pad, I don't get any ouput in the serial simulator.
The Arduino expert said something about another variable in the code, but it made no sense to me.
Are you guys able to help me?

int boardPin1 = 4;
int boardPin2 = 5;
int boardPin3 = 6;
int boardPin4 = 7;

int boardPin5 = 8;
int boardPin6 = 9;
int boardPin7 = 10;
int boardPin8 = 11;

Void setup() {
pinMode(boardPin1, OUTPUT);
pinMode(boardPin2, OUTPUT);
pinMode(boardPin3, OUTPUT);
pinMode(boardPin4, OUTPUT);
pinMode(boardPin5, INPUT);
pinMode(boardPin6, INPUT);
pinMode(boardPin7, INPUT);
pinMode(boardPin8, INPUT);
Serial.begin(9600);
Serial.println ("Begin");
}

Void loop() {
digitalWrite(boardPin1, HIGH);
digitalRead(boardPin5);
digitalRead(boardPin6);
digitalRead(boardPin7);
digitalRead(boardPin8);
if (boardPin5 == HIGH) {
Serial.println ("/");
}
if (boardPin6 == HIGH) {
Serial.println( "*");
}
if (boardPin7 == HIGH) {
Serial.println ("-");
}
if (boardPin8 == HIGH) {
Serial.println ("+");
}

digitalWrite(boardPin2, HIGH);
digitalRead(boardPin5);
digitalRead(boardPin6);
digitalRead(boardPin7);
digitalRead(boardPin8);
if (boardPin5 == HIGH) {
Serial.println ("**");
}
if (boardPin6 == HIGH) {
Serial.println( "9");
}
if (boardPin7 == HIGH) {
Serial.println ("6");
}
if (boardPin8 == HIGH) {
Serial.println ("3");
}

digitalWrite(boardPin3, HIGH);
digitalRead(boardPin5);
digitalRead(boardPin6);
digitalRead(boardPin7);
digitalRead(boardPin8);
if (boardPin5 == HIGH) {
Serial.println ("0");
}
if (boardPin6 == HIGH) {
Serial.println( "8");
}
if (boardPin7 == HIGH) {
Serial.println ("5");
}
if (boardPin8 == HIGH) {
Serial.println ("2");
}

digitalWrite(boardPin4, HIGH);
digitalRead(boardpin5);
digitalRead(boardpin6);
digitalRead(boardpin7);
digitalRead(boardpin8);
if (boardpin5 == HIGH) {
Serial.println ("Arduino project 4x4 membrane pad");
}
if (boardpin6 == HIGH) {
Serial.println( "7");
}
if (boardpin7 == HIGH) {
Serial.println ("4");
}
if (boardpin8 == HIGH) {
Serial.println ("1");
}
}

Use the Keypad library.

Once you have done that, click here and check out the keypad section under Input / Output