RedstoneAssassin
Published © GPL3+

LCD Face

A little thing you can stare at to pass the time.

BeginnerWork in progress1,494
LCD Face

Things used in this project

Hardware components

Standard LCD - 16x2 White on Blue
Adafruit Standard LCD - 16x2 White on Blue
Basically make sure you have the lcd hooked up
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

Untitled file

C/C++
Makes a display on the lcd that you can look at and it looks back and blinks!
#include <LiquidCrystal.h>
LiquidCrystal
lcd(12, 11, 5, 4, 3, 2); //change these values from greatest to least depending on what digtal pins are hooked to your lcd screen
byte eye_one[8] = {
  B00000,
  B00000,
  B11111,
  B11111,
  B11111,
  B11111,
  B00000,
  B00000
};
void setup() {
  lcd.begin(16, 2);
  lcd.createChar(0, eye_one);
}

void loop() {
  // put your main code here, to run repeatedly:
  lcd.setCursor(6, 0);
  lcd.write(byte(0));
  lcd.setCursor(8, 0);
  lcd.write(byte(0));
  delay(10000);  
  lcd.setCursor(6, 0);
  lcd.print("> <");
  delay(500);
}

Credits

RedstoneAssassin

RedstoneAssassin

0 projects • 0 followers

Comments