From b59be2fb6f05f43e93ce70bd140ab7149fa18c40 Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Tue, 2 Apr 2013 16:24:09 +0800 Subject: add MultiLCD library --- libraries/MultiLCD/examples/lcdhello/lcdhello.ino | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libraries/MultiLCD/examples/lcdhello/lcdhello.ino (limited to 'libraries/MultiLCD/examples') diff --git a/libraries/MultiLCD/examples/lcdhello/lcdhello.ino b/libraries/MultiLCD/examples/lcdhello/lcdhello.ino new file mode 100644 index 0000000..55f07e5 --- /dev/null +++ b/libraries/MultiLCD/examples/lcdhello/lcdhello.ino @@ -0,0 +1,20 @@ +#include +#include +#include + +//LCD_OLED lcd; /* for I2C OLED module */ +//LCD_PCD8544 lcd; /* for LCD4884 shield or Nokia 5100 screen module */ +LCD_1602 lcd; /* for LCD1602 shield */ + +void setup() +{ + lcd.begin(); + lcd.setCursor(0, 0); + lcd.print("Hello, World"); + lcd.setCursor(0, 1); + lcd.printLarge("12345"); +} + +void loop() +{ +} -- cgit v1.2.3