mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-10 21:24:12 +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
|
|
// 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!");
|
|
}
|
|
|
|
void loop()
|
|
{
|
|
}
|