- Reduced price
![Shield LCD cu butoane 1602 Verde Shield LCD cu butoane 1602 Verde](https://ardushop.ro/11444-large_default/shield-lcd-cu-butoane-1602-verde.jpg)
Pick up your orders anytime, hassle-free!
Orders placed by 2:00 PM are shipped the same day. Delivered within 24h!
Reliable products, worry-free!
Unused items? No questions asked!
Shield-ul contine un ecran LCD 1602 (2 randuri a cate 16 caractere) compatibil cu HD44780 si 6 butoane.
ATENTIE - Shieldul se amplaseaza pe o placa de dezvoltare UNO avand grija ca pinii din shield sa nu atinga conectorul USB al placii UNO [recomandam sa folositi un material izolator electric (de ex. hartie) intre acestea].
Necesita libraria LiquidCrystal.
// include the library code:
#include
// initialize the library by associating any needed LCD interface pin
// with the arduino pin number it is connected to
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// print the number of seconds since reset:
lcd.print(millis() / 1000);
}
Your review appreciation cannot be sent
Report comment
Report sent
Your report cannot be sent
Write your review
Review sent
Your review cannot be sent
Reference: OJOIXG_BL-128x64-BLUE
check_circle
check_circle