nokia 5110 lcd display

Hello,I'd mentioned in my previous thread that I was trying to get a PID circuit output on an 8 digit ssd. But I guess it'll be more convenient getting the output on a nokia 5110 lcd display.I tried running a test code for the display, but it shows me an error I can't find the solution to.I have even attached the font.h file.Please help me out here.I can't seem to find the error.Thanks in advance.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno"
lcd.c: In function 'LcdInit':
lcd.c:37: error: 'P1DIR' undeclared (first use in this function)
lcd.c:37: error: (Each undeclared identifier is reported only once
lcd.c:37: error: for each function it appears in.)
lcd.c:38: error: 'BIT0' undeclared (first use in this function)
lcd.c:39: error: 'BIT1' undeclared (first use in this function)
lcd.c:40: error: 'BIT2' undeclared (first use in this function)
lcd.c:41: error: 'BIT3' undeclared (first use in this function)
lcd.c:42: error: 'BIT4' undeclared (first use in this function)
lcd.c:44: error: 'P1OUT' undeclared (first use in this function)
lcd.c: In function 'LcdWrite':
lcd.c:57: error: 'P1OUT' undeclared (first use in this function)
lcd.c:57: error: 'BIT2' undeclared (first use in this function)
lcd.c:58: error: 'BIT0' undeclared (first use in this function)
lcd.c:59: error: 'for' loop initial declaration used outside C99 mode
lcd.c:60: error: 'BIT3' undeclared (first use in this function)
lcd.c:61: error: 'BIT4' undeclared (first use in this function)
lcd.c: In function 'LcdCharacter':
lcd.c:71: error: 'for' loop initial declaration used outside C99 mode
lcd.c: In function 'LcdClear':
lcd.c:82: error: 'for' loop initial declaration used outside C99 mode
lcd.c: In function 'main':
lcd.c:96: error: 'WDTCTL' undeclared (first use in this function)
lcd.c:96: error: 'WDTPW' undeclared (first use in this function)
lcd.c:96: error: 'WDTHOLD' undeclared (first use in this function)
lcd.c:102: error: 'ADC10CTL1' undeclared (first use in this function)
lcd.c:102: error: 'INCH_10' undeclared (first use in this function)
lcd.c:102: error: 'ADC10DIV_3' undeclared (first use in this function)
lcd.c:103: error: 'ADC10CTL0' undeclared (first use in this function)
lcd.c:103: error: 'SREF_1' undeclared (first use in this function)
lcd.c:103: error: 'ADC10SHT_3' undeclared (first use in this function)
lcd.c:103: error: 'REFON' undeclared (first use in this function)
lcd.c:103: error: 'ADC10ON' undeclared (first use in this function)
lcd.c:113: error: 'ENC' undeclared (first use in this function)
lcd.c:113: error: 'ADC10SC' undeclared (first use in this function)
lcd.c:114: error: 'ADC10IFG' undeclared (first use in this function)
lcd.c:115: error: 'ADC10MEM' undeclared (first use in this function)
lcd.c:118: error: 'ADC10BUSY' undeclared (first use in this function)

LCD_NOKIA.ino (1.38 KB)

something is wrong here

for(int i=0; i<5; i++)0 LcdWriteData(ASCII[character - 0x20][i]);

this doesnt need a semicolon

#include "font.h";

Also, you forgot to include that file in your post...you clearly told us

I have even attached the font.h file

Also, Also, your errors are coming from lcd.c, where is this file and why haven't you included it in your post?

Also, Also, Also, put your code/errors in code tags...

I tried removing the semi-colon,but its showing the same error.When I said I'd attached the font.h file,I meant I had attached it to the arduino IDE(Through the add file option).I'll attach it to this post,just in case you need to see it.It shows an error in the lcd.c file.

font.h (3.91 KB)

lcd.c (2.77 KB)

and where is this file?

#include <msp430.h>

Please attach it