You need to set the I2C address of the I2C LCD with something like this before void setup: LiquidCrystal_I2C lcd(0x27,16,2); You should find the I2C address in the datasheet of your LCD.
I have used an I2C display and ethernet shield without problems with an Arduino Duemilanove and Uno...
Here is a sketch with 2 I2C devices, SD card, temp sensors and an ethernet shield: Syncing DS1307 RTC with timeserver - Bajdi electronics
Does it print "Hello World" on the LCD, and "LCD init OK" in the serial monitor? What makes you think the problem with the Ethernet initialization has anything to do with the LCD? And what libraries are you including (you seem to have left that out of your code)?
danb35:
Does it print "Hello World" on the LCD, and "LCD init OK" in the serial monitor? What makes you think the problem with the Ethernet initialization has anything to do with the LCD? And what libraries are you including (you seem to have left that out of your code)?
Thanks for the reply
It Prints "Hello World" on the LCD and "LCD init OK" in the serial monitor
If i disable the LCD then it works fine...
Libraries for LCD
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
Bajdi:
You need to set the I2C address of the I2C LCD with something like this before void setup: LiquidCrystal_I2C lcd(0x27,16,2); You should find the I2C address in the datasheet of your LCD.
I have used an I2C display and ethernet shield without problems with an Arduino Duemilanove and Uno...
Here is a sketch with 2 I2C devices, SD card, temp sensors and an ethernet shield: Syncing DS1307 RTC with timeserver - Bajdi electronics
Those Parameters are included.
Looking at your example only thing missing is i don't use Wire?
Project.ino----Full project code is attached... It stops executing After printing "Eth. Init " and nothing works after that : Ethernet.begin() where it stops
On the contrary i made a simple example only consisting of LCD and Ethernet and that works.... "Hello World _with Ethernet"..