I bought some lcd displays from buydisplay.com with the i2c controller, https://www.buydisplay.com/blue-lcd-module-hd44780-16x2-display-character-lcd-i2c-arduino-code and i am having troubles printing to lcd with an attiny85.
Let the games begin:
a) What are the troubles?
b) How have you connected the I2C Controller and ATtiny?
c) Where have you uploaded a schematic of your setup?
d) Which code are you using?
e) Which library are you using?
f) What error message do you get?
g) Which core do you use for the ATtiny?
A. I only see a row of filled squares on the top row of 16x2.
B. I had a pcb made for my project, sda to sda scl to scl 5v to 5v gnd to gnd.
C. I haven't uploaded a schematic but can get a screen shot if needed.
D. Trying the hello world from the library zip folder, example, 16x2. Or my sketch that I have used with adafruit i2c lcd.
E. The library on website.
F. No errors
G. Um attinycore I think I can't remember where I got it from I've used it for a long time.
B--> pictures!
C-> pictures!
D-> upload the code
E-> there are tons of "LCD" libraries ... point us to the library you are using EXACTLY
G-> ???
Furthermore:
H: Test with a I2C Scanner if the i2c communication is working and double check that you are using the correct I2C Address for your LCD. Post the result of the I2C Scanner.
The library is on the web page in my original post. as is the hookup guide. The i2c scan returned 0x27 address and that is the address being used.
//www.buydisplay.com
//Compatible with the Arduino IDE 1.6.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27(PCF8574T)
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.setCursor(0,0);
lcd.print("Hello, world!");
}
void loop()
{
}
I solved my problem. Apparently I had another library called LiquidCrystal_I2C. I changed that folder to OLD_LiquidCrystal_I2C and reinstalled the buydisplay library as LiquidCrystal_I2C and now it is working proper.
