Pages: [1]   Go Down
Author Topic: Conflict between LCD and serial input.  (Read 1435 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 42
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm experiencing a problem I can't solve. This line causes the serial input (Serial over USB) to stop working. Output is fine. Commenting out the line solves the problem.
Code:
// initializing LCD panel and setting interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2) ;
Logged

London, GB
Offline Offline
Sr. Member
****
Karma: 8
Posts: 332
Nothing works.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You started off saying you couldn't solve it, then you solved it.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 50331
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In case commenting out the initializer for the lcd is not a good solution, you might want to post all of your code, say what Arduino you have, and mention what operating system and version of the IDE you are using.
Logged

Pages: [1]   Go Up
Jump to: