This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP-EXP430G2: hi, display 16x2 with 430g2553

Part Number: MSP-EXP430G2
Other Parts Discussed in Thread: MSP430G2553,

Tool/software: Code Composer Studio

Hi,

sorry but my english is not very good.

I would connect the display lcd 16x2 to my msp-exp430g2, on the board ther is MSP430G2553.

where i sherc the library, in particular <LiquidCrystal.h>

it generate this error:


**** Build of configuration Debug for project display 430g2553 ****

"C:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
 
Building file: "../main.c"
Invoking: MSP430 Compiler
"C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/bin/cl430" -vmsp --use_hw_mpy=none --include_path="C:/ti/ccs930/ccs/ccs_base/msp430/include" --include_path="C:/Users/Tonio/Desktop/texas instruments/430g2/display 430g2553" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-msp430_18.12.4.LTS/include" --advice:power=all --define=__MSP430G2553__ -g --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw"  "../main.c"
 
>> Compilation failure
subdir_rules.mk:9: recipe for target 'main.obj' failed
"../main.c", line 9: fatal error #1965: cannot open source file "LiquidCrystal.h"
1 catastrophic error detected in the compilation of "../main.c".
Compilation terminated.
gmake: *** [main.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

----------------------------------------------------------------------------------------------------

this is the code to start

#include <msp430.h> 
#define RS 2
#define EN 3
#define D4 4
#define D5 5
#define D6 6
#define D7 7

#include <LiquidCrystal.h> //This librarey is insatlled by default along with IDE
LiquidCrystal lcd(RS, EN, D4, D5, D6, D7); //Let the librarey know how we have connected the LCD

int main(void)
{
    lcd.begin(16, 2); //We are using a 16*2 LCD display
    lcd.setCursor (0,0); //Place the cursor at 1st row 1st column
    lcd.print("welcome"); //Display a intro message
    lcd.setCursor(0, 1); // set the cursor to 1st column 2nd row
    lcd.print("I'm Antonio"); //Display a intro message

   delay(2000); //Wait for display to show info
   lcd.clear(); //Then clean it
	return 0;
}

-------------------------------------------------------------

thank you

kids regards