Skip to content

Instantly share code, notes, and snippets.

@devzendo
Created June 6, 2015 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save devzendo/3a474908b71b66ffa9d7 to your computer and use it in GitHub Desktop.
Save devzendo/3a474908b71b66ffa9d7 to your computer and use it in GitHub Desktop.
Getting started with Arduino Micro, 1602A LCD, I2C LCD backpack.
# Using https://arduino-info.wikispaces.com/LCD-Blue-I2C
#include <LiquidCrystal_I2C.h>
#include <Wire.h>
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
void setup() {
lcd.begin(16, 2);
lcd.backlight();
lcd.setCursor(0, 0);
// 0123456789ABCDEF
lcd.print("M0CUV's duff LCD");
lcd.setCursor(0, 1);
lcd.print("Cheap as chips 0");
}
void loop() {
// put your main code here, to run repeatedly:
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment