Mostrando entradas con la etiqueta lcd. Mostrar todas las entradas
Mostrando entradas con la etiqueta lcd. Mostrar todas las entradas
LCD I2C con ATiny85
http://playground.arduino.cc/Code/USIi2c
Ver ejemplo Tiny85_Temp_LCD dentro de TinnyWireM
(codigo de las librerias en google drive)
https://drive.google.com/#folders/0B8buGbwpnmSkeHZCbDI2SHYzdE0
Como conectar el LCD serial a Arduino
Arduino IIC/I2C/TWI 16 x 2 Characters LCD Module Yellow Green
Con el Library Manager de Arduino, instalar la versino 1.1.2 de LiquidCrystal I2C.
IIC/I2C interface
So the 5V interface of Arduino should connect VCC on the LCD module .
the GND interface of Arduino should connect GND on the LCD module .
SI ES ARDUINO LEONARDO, SDA VA EN SDA Y SCL VA EN SCL!!!
Con el Library Manager de Arduino, instalar la versino 1.1.2 de LiquidCrystal I2C.
IIC/I2C interface
So the 5V interface of Arduino should connect VCC on the LCD module .
the GND interface of Arduino should connect GND on the LCD module .
SI ES ARDUINO LEONARDO, SDA VA EN SDA Y SCL VA EN SCL!!!
SINO:
the "Analog in 4" interface of Arduino should connect SDA on the LCD module .
the "Analog in 5" interface of Arduino should connect SCL on the LCD module .
-----------------------------------------------------------------------------
the "Analog in 4" interface of Arduino should connect SDA on the LCD module .
the "Analog in 5" interface of Arduino should connect SCL on the LCD module .
-----------------------------------------------------------------------------
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2);
void setup()
{
lcd.init();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Prueba linea 1");
lcd.setCursor(0, 1);
lcd.print("Linea 2");
lcd.setCursor(14, 1);
lcd.print("OK");
}
void loop()
{
lcd.setCursor(9, 1);
lcd.print("es");
delay(100);
}
Suscribirse a:
Entradas (Atom)
