Arduino Mega 2560 + LCD 1602
Опубликовано пт, 05/25/2018 - 12:11 пользователем NikolaiLCD 16x2
Screen for arduino for 2 lines of 16 characters
Module dimensions: 80.0 x 36.0 x 14.5
Dimensions of the working area of the screen: 64.5 x 14.5
LCD contct | LCD pin | Arduino pin |
1 | VSS | GND-16 |
2 | VDD | 5V-22 |
3 | V0 | GND-0 (contrast display) |
4 | RS | 7 |
5 | RW | GND-1 |
6 | E | 8 |
7 | D4 | 5 |
8 | D5 | 4 |
9 | D6 | 3 |
10 | D7 | 2 |
#include <liquidcrystal.h>
LiquidCrystal lcd(7, 8, 5, 4, 3, 2);
void setup() {
lcd.begin(16, 2);
lcd.setCursor(0,1);
lcd.write("LIGHT: ");
}
void loop() { }
To improve the brightness of the LCD Display see http://arduino-diy.com/arduino-zhidkokristallicheskiy-displey-LCD-1602