diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2009-07-13 02:31:46 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2009-07-13 02:31:46 +0000 |
commit | b63012069f6a239de812ed37b8a4a4141791b864 (patch) | |
tree | e2d34ab224d4aa308f80bc80a0021439389092ea /libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde | |
parent | 12ea12d14cfe1c7ae208651210a0cb1f73c5977f (diff) |
Removing old LiquidCrystal examples.
Diffstat (limited to 'libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde')
-rw-r--r-- | libraries/LiquidCrystal/examples/SerialDisplay/SerialDisplay.pde | 34 |
1 files changed, 0 insertions, 34 deletions
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.h> - -// 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()); - } - } -} |