viernes, 25 de enero de 2013

lcd




void setup() {
  // initialize the library with the numbers of the interface pins
  lcd.pins(0, 1, 2, 3, 4, 5, 0, 0, 0, 0); // RS, E, D4 ~ D8   
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("Hola mundo!");
}

void loop() {
  // Turn off the blinking cursor:
  lcd.noBlink();
  delay(3000);
   // Turn on the blinking cursor
//lcd.printf("Pinguino: %d", millis()/100);
  lcd.blink();
  delay(3000);
}

No hay comentarios:

Publicar un comentario