LCD 1602 no da texto Arduino

Estoy haciendo un proyecto y mi lcd 1602 no da texto, se ve que la pantalla prende luz pero el texto no aparece ayuda. os dejo el codigo que lo cogi de una web.

//We’ll start by adding our libraries

#include <LiquidCrystal.h>

#include <SimpleDHT.h>

//Declaring digital pin no 6 as the dht11 data pin

int pinDHT11 = 6;
SimpleDHT11 dht11;

//Declaring the lcd pins

const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

void setup() {
// Don’t forget to choose 9600 at the port screen


//Telling our lcd to start up

lcd.begin(16, 2);


void loop() {

//These serial codes are for getting readings on the port screen aswell as the LCD display, since they’ll offer us a more detailed interface

Serial.println(“DHT11 readings…”);

byte temperature = 0;
byte humidity = 0;
int err = SimpleDHTErrSuccess;

//This bit will tell our Arduino what to do if there is some sort of an error at getting readings from our sensor
if ((err =, &temperature, &humidity, NULL)) != SimpleDHTErrSuccess) {
Serial.print(“No reading , err=”); Serial.println(err);delay(1000);

Serial.print(“Readings: “);
Serial.print((int)temperature); Serial.print(” Celcius, “);
Serial.print((int)humidity); Serial.println(” %”);

//Telling our lcd to refresh itself every 0.75 seconds

//Choosing the first line and row
//Typing Temp: to the first line starting from the first row
lcd.print("Temp: ");
//Typing the temperature readings after "Temp: "
//Choosing the second line and first row
//Typing Humidity(%): to the second line starting from the first row
lcd.print("Humidity(%): ");
//Typing the humidity readings after "Humidity(%): "


Por favor lee las Normas del foro y edita tu post usando etiquetas de código