Jump to content
43oh

Recommended Posts

Hello

I hope you can understand my english :)

I have a texas instruments tm4c123gxl with a SainSmart IIC/I2C/TWI Serial 2004 20x4 LCD Module.

I will connect this Display over I²C. For the 5V Supply voltage i have use the VBus on the tm4c...

For the SDA/SCL i have use the pin PA6 and PA7.

Does it work like this? or need a Logic Level Converter - Bi-Directional for the SDA/SCL Line? from 3,3V to 5V.

I have use a Pullup resistor for the Line SDA/SCL, how in the datasheet from the tm4c.

And i have use this Code:

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


LiquidCrystal_I2C lcd(0x3F, 20, 4); // 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 the LCD.
  lcd.backlight();
  lcd.print("Hello, world!");
}

void loop()
{
}

But my display show nothing only LED backlight.

 

Link to post
Share on other sites
15 hours ago, Rei Vilo said:

Perform a search on this forum, as the topic has been already asked and answered many times.

Yes, you need a logic level converter.

Ok, thanks for your information. Sorry, i will search in the Forum.

I will buy a logic level converter.

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.

Guest
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...