hi robg,
i tried out the corrections you suggested but my lcd is still not displaying anything. following is the code . Please suggest corrections if any.
thankyou.
#include "msp430g2231.h"
#include "PCD8544.h"
#define LCD5110_SCLK_PIN BIT5
#define LCD5110_DN_PIN BIT6
#define LCD5110_SCE_PIN BIT0
#define LCD5110_DC_PIN BIT1
#define LCD5110_SELECT P1OUT &= ~LCD5110_SCE_PIN
#define LCD5110_DESELECT P1OUT |= LCD5110_SCE_PIN
#define LCD5110_SET_COMMAND P1OUT &= ~LCD5110_DC_PIN
#define LCD5110_SET_DATA P1OUT |= LCD5110_DC_PIN
#define LCD5110_COMMAND 0
#define LCD51