Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: [1]   Go Down
Author Topic: LCD Time and Date stop working when Ethernet code used  (Read 483 times)
0 Members and 1 Guest are viewing this topic.
manchester
Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I am trying to display the Time and the Date from DS1307 on a Hitachi HD44780 and in the same time to control a LED from a Web page using the Ethernet shield of arduino. I can display the Time and the Date using a simple program but when i add the Ethernet function on the program I can only control the LED through the Ethernet but I do not see anything on the LCD. I attach my program to have a look. Please any ideas will be much appreciated.

Many Thanks!

* Ethernet_LED_RTC.ino (3.52 KB - downloaded 11 times.)
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 42
Posts: 4464
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Code:
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);

According to http://shieldlist.org the Arduino Ethernet shield uses digital pins 10, 11, 12, and 13 so you cannot use those for your LCD. 

Also, it appears that you are implementing the R/W connection for your LCD.  Are you sure that you need to do this?


Don
Logged

manchester
Offline Offline
Newbie
*
Karma: 0
Posts: 22
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Don,

Thank you very much for your help. I changed "LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);" with "LiquidCrystal lcd(8, 7, 5, 4, 3, 2);" and it worked.

Regards,
Steve

Logged

Pages: [1]   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: