Sign in to follow this  
Followers 0
mihaita21

Msp430FR6989 external LCD

3 posts in this topic

Hello guys i have msp430fr6989 with a built in lcd but i dont like it i wonder if i can attach my 16x2 lcd (1602) that i use with arduino i have a I2C communication this library : http://www.xs4all.nl/~hmario/arduino/LiquidCrystal_I2C/V1.0/LiquidCrystal_I2C_V1.0.zip and the clasic wire arduino library my scl and sda are coneccted to 4.1 and 4.0 and my vcc is 5 v from the 5 v pin but i can't upload the program.Can somebody help me pls.

#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x20,20,4);  // set the LCD address to 0x20 for a 20 chars and 4 line display

void setup()
{
  lcd.init();                      // initialize the lcd 
 
  // Print a message to the LCD.
  lcd.backlight();
  lcd.print("43oh.com rocks!     ");
  lcd.print("Now for some RFID...");
}

void loop()
{
}

 

Share this post


Link to post
Share on other sites

Feel free to perform a search on this very forum about compatibility about hardware and software between Arduino and LaunchPad.

Check list of possible issues:

  • 5 V-operated devices do not work with 3.3 V-powered LaunchPad
  • Arduino libraries with specific AVR registers do not work with MSP430
  • ...

Share this post


Link to post
Share on other sites

Have you tried with the last version of the library, mentioned on the https://hmario.home.xs4all.nl/arduino/LiquidCrystal_I2C/?

Quote

Update 12/2011: V2 release.
Due to the release of Arduino IDE 1.0 some changes were made to the library to get it working under the new IDE.
Because of these changes this version of the LiquidCrystal_I2C library can not be used for older IDE versions!
The Multiple display example is moved to the samples directory so it becomes available as a sample in the IDE.
(Thanks to Ailton F. for beta testing.)

The old V1.0 version of the LiquidCrystal_I2C library can be downloaded here.

 

hemangjoshi37a likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0