From b63012069f6a239de812ed37b8a4a4141791b864 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Mon, 13 Jul 2009 02:31:46 +0000 Subject: Removing old LiquidCrystal examples. --- .../examples/HelloWorld/HelloWorld.pde | 18 ------------ .../examples/SerialDisplay/SerialDisplay.pde | 34 ---------------------- 2 files changed, 52 deletions(-) delete mode 100644 libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.pde delete mode 100644 libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde (limited to 'libraries') diff --git a/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.pde b/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.pde deleted file mode 100644 index 2f244d0..0000000 --- a/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.pde +++ /dev/null @@ -1,18 +0,0 @@ -#include - -// LiquidCrystal display with: -// rs on pin 12 -// rw on pin 11 -// enable on pin 10 -// d4, d5, d6, d7 on pins 5, 4, 3, 2 -LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2); - -void setup() -{ - // Print a message to the LCD. - lcd.print("hello, world!"); -} - -void loop() -{ -} diff --git a/libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde b/libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde deleted file mode 100644 index 0c4ce35..0000000 --- a/libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Displays text sent over the serial port (e.g. from the Serial Monitor) on - * an attached LCD. - */ - -#include - -// LiquidCrystal display with: -// rs on pin 12 -// rw on pin 11 -// enable on pin 10 -// d4, d5, d6, d7 on pins 5, 4, 3, 2 -LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2); - -void setup() -{ - Serial.begin(9600); -} - -void loop() -{ - // when characters arrive over the serial port... - if (Serial.available()) { - // wait a bit for the entire message to arrive - delay(100); - // clear the screen - lcd.clear(); - // read all the available characters - while (Serial.available() > 0) { - // display each character to the LCD - lcd.write(Serial.read()); - } - } -} -- cgit v1.2.3-18-g5258