Hide minor edits - Show changes to markup
Write a character to the LCD.
Escribe un caracter en el LCD.
lcd: a variable of type LiquidCrystal
data: the character to write to the display
lcd: una variable de tipo LiquidCrystal
data: el caracter a escribir en el display
Write a character to the LCD.
lcd.write(data)
lcd: a variable of type LiquidCrystal
data: the character to write to the display
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);
void setup()
{
Serial.begin(9600);
}
void loop()
{
if (Serial.available()) {
lcd.write(Serial.read());
}
}