Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 228420

Forum Post: Problem with the LCD display in MSP430F5438A

$
0
0

Good morning,

           We have executed the following code for LCD display without errors. But the LCD screen is just blinking and not displaying anything.

#include "hal_lcd.c"
main()
{
WDTCTL = WDTPW+WDTHOLD;                   // Stop watchdog timer
static const char Text[] = {"Welcome"};
unsigned int i;
while(1)
{
halLcdInit();                                                         // Initialize LCD
halLcdBackLightInit();
halLcdClearScreen();
halLcdSetBackLight(15);                                  // Switch ON LCD
halLcdPrintLine("Hello World",0,0);               // displays hello world on LCD

__delay_cycles(2000);
halLcdPrintLine((char *)Text, 0, 0);
__delay_cycles(2000);
}
}

Anyone please help me out of this..


Viewing all articles
Browse latest Browse all 228420

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>