aboutsummaryrefslogtreecommitdiff
path: root/libraries/LiquidCrystal/examples/HelloWorld
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/LiquidCrystal/examples/HelloWorld')
-rw-r--r--libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.pde6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.pde b/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.pde
index f755d9c..438063f 100644
--- a/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.pde
+++ b/libraries/LiquidCrystal/examples/HelloWorld/HelloWorld.pde
@@ -1,9 +1,15 @@
#include <LiquidCrystal.h>
+// LiquidCrystal display with:
+// rs on pin 12
+// rw on pin 11
+// enable on pin 10
+// d0, d1, d2, d3 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!");
}