MUstar

IoT 아두이노 0609 - LCD

Jun 9th, 2017
67
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <LiquidCrystal.h>
  2.  
  3. int pin_LCD_DATA[8] = {A8,A9,A10,A11,A12,A13,A14,A15};
  4. int pin_LCD_CTRL[3] = {A5,A6,A7};
  5. LiquidCrystal lcd(A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15);
  6.  
  7. void setup() {
  8.   lcd.begin(16,2);
  9.   lcd.print("I Okchen you.");
  10.   lcd.setCursor(0,1);
  11.   lcd.print("        by CJ");
  12. }
  13.  
  14. void loop() {}
RAW Paste Data