1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#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() { }