LCD 16x2 HD 44780 compatible green
Untuk menampilkan display dari mikrokontroler, dibutuhkan LCD display.
LCD ini sangat mudah dikonfigurasi dari arduino
Contoh sketch dengan arduino:
#include <LiquidCrystal.h>
/* LiquidCrystal display with:
LCD 4 (RS) to arduino pin 12
LCD 5 (R/W) to ground (non-existent pin 14 okay?)
LCD 6 (E) to arduino pin 11
d4, d5, d6, d7 on arduino pins 7, 8, 9, 10
*/
LiquidCrystal lcd(12, 14, 11, 7, 8, 9, 10);
void setup()
{
// position cursor on line x=4,y=3
lcd.setCursor(0,2);
// Print a message to the LCD.
lcd.print("hello, world!");
}
void loop()
{
}
Your Review: Note: HTML is not translated!
Rating: Bad Good
Enter the code in the box below: