Jump to content
43oh

5rm

Members
  • Content Count

    5
  • Joined

  • Last visited

Reputation Activity

  1. Like
    5rm got a reaction from energia in I2C on Stellaris Launchpad   
    Thanks for all help, I got it work:
     
    #include <Wire.h>  #include <LiquidCrystal_I2C.h>   LiquidCrystal_I2C lcd(0x27,16,2);  // set the LCD address to 0x27 for a 16 character, 2 line display   void setup() {   Wire.begin(3);   Wire.setModule(3);   pinMode(15,INPUT_PULLUP); // I2C3SDA    pinMode(14,INPUT_PULLUP); // I2C3SCL   lcd.init();                      // initialize the lcd      // Print a message to the LCD.   lcd.backlight();   lcd.print("I2C display OK!    ");   lcd.setCursor(0,1);    lcd.print("on Tiva C..."); }   void loop() { }    
    I am using YwRobot LCM1602 I2C adapter
×
×
  • Create New...