Jump to content

I2C LCD display to MSP430 Energia

Recommended Posts

I have found a very simple LCD display  "DfRobot LCD for Arduino with rgb backlight". It seems like a good way to have a display with projects but the problem is that for some reason Energia cannot process the code. No matter how I try, i just get an error message: Error compiling for board MSP-EXP430G2ET w/ MSP430G2553. Is there any way to use such displays with Energia?

the code is very simple

#include <Wire.h>

#include "DFRobot_RGBLCD.h"


const int colorR = 255;

const int colorG = 0;

const int colorB = 0;


DFRobot_RGBLCD lcd(16,2);  //16 characters and 2 lines of show


void setup() {

    // initialize



    lcd.setRGB(colorR, colorG, colorB);


    // Print a message to the LCD.

    lcd.print("hello, world!");





void loop() {

    // set the cursor to column 0, line 1

    // (note: line 1 is the second row, since counting begins with 0):

    lcd.setCursor(0, 1);

    // print the number of seconds since reset:





Link to post
Share on other sites
Link to post
Share on other sites

Yes, the display is 3.3/5V works with both.

But the issue is that I haven't even yet connected the launchpad to anything, it is the compile process that stops with the error "Error compiling for board MSP-EXP430G2ET w/ MSP430G2553"

what could cause this kind of issue? I am able to compile other programs I have tried normally


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...