Skip to content

Instantly share code, notes, and snippets.

@dzcpy
Forked from devzendo/gist:3a474908b71b66ffa9d7
Last active October 7, 2015 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dzcpy/c76da5bbf437356ea64b to your computer and use it in GitHub Desktop.
Save dzcpy/c76da5bbf437356ea64b 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(0x3F, 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