-
-
Save yf-hk/c76da5bbf437356ea64b to your computer and use it in GitHub Desktop.
Getting started with Arduino Micro, 1602A LCD, I2C LCD backpack.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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