Pages: [1]   Go Down
Author Topic: Bug in LiquidCrystal Library ?  (Read 619 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 14
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


First of all, I'm new to the forum and to the Arduino.

I saw some strange behaviour through the following sketch:

#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int sensorPin = 0;
void setup() {
  lcd.begin(16, 2);
  char c[15] = "azerty azerty";
//  lcd.print(c);
  lcd.print("azerty azerty");
  lcd.setCursor(0, 1);  
  lcd.print("text here");
void loop() {

Output on the LCD:
   azerty azerty
   tuxt here

After changing the sketch:
//  lcd.print("azerty azerty");

the output is correct.

I am using 0017 on a MacBook Pro with an Duemilanove ATMEGA328.
LCD is Powertip PC1602Q.

What am I doing wrong ?
Or is this a bug ?

Best regards,


Pages: [1]   Go Up
Jump to: