mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Commented LCD examples.
This commit is contained in:
@ -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!");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user