mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-03 14:24:15 +01:00
19 lines
289 B
Plaintext
19 lines
289 B
Plaintext
#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()
|
|
{
|
|
// Print a message to the LCD.
|
|
lcd.print("hello, world!");
|
|
}
|
|
|
|
void loop()
|
|
{
|
|
}
|