summaryrefslogtreecommitdiff
path: root/libraries/MultiLCD/examples/lcdhello
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/MultiLCD/examples/lcdhello')
-rw-r--r--libraries/MultiLCD/examples/lcdhello/lcdhello.ino20
1 files changed, 20 insertions, 0 deletions
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 <Arduino.h>
+#include <Wire.h>
+#include <MultiLCD.h>
+
+//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()
+{
+}