Jump to content
43oh

5rm

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. Sorry Stendall, I have been off this forum for long time. I cannot remember where I got the library from, but you can get the files from here: https://dl.dropboxusercontent.com/u/32143987/LiquidCrystal_I2C/LiquidCrystal_I2C.h https://dl.dropboxusercontent.com/u/32143987/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp https://dl.dropboxusercontent.com/u/32143987/LiquidCrystal_I2C/keywords.txt Hope this helps.
  2. 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 adap
  3. Thanks superbrew for the info on point 2. As the SDA and SCL lines are bidirectional, is it correct/enough to pinMode(pin, INPUT_PULLUP);?
  4. I am trying to use I2C LCD display on my Tiva C Launchpad.: Display uses the YwRobot LMC1602 IIC V1 adapter with address 27 like this one: http://arduino-info.wikispaces.com/LCD-Blue-I2C I have tried different libraries, but have not managed to get it work. In Arduino the display is working OK with this sketch: //Hello World #include <Wire.h> #include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x20 for a 16 chars and 2 line display void setup() { lcd.init(); // initialize the lcd // Print a message to
  5. I am using Tiva C and have tried to use this library with a 320x240 display (ILI9325C) which is working OK with Arduino/UTFT. When I try to run the UTFT_Demo_320x240 I get error messages of files not found.
×
×
  • Create New...