Go Down

Topic: Bug in LiquidCrystal Library ? (Read 1 time) previous topic - next topic



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,


Go Up