Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <LiquidCrystal.h> // include the library code:
- const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
- LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
- void setup() {
- lcd.begin(16, 2); // set up the LCD size
- lcd.print("hello, world!"); // Print a message to the LCD.
- }
- void loop() {
- // set the cursor to column 0, line 1
- lcd.setCursor(0, 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement