Stap 1: Maak een Breadboard circuit en Set contrast met potmeter
programma voor weergavetekst op LCD-scherm
#include
LiquidCrystal lcd (12, 11, 5, 4, 3, 2); Hiermee stelt u de interfacing pinnen
void setup {lcd.begin (16, 2); / / initialiseert de 16 x 2 LCD}
void loop {lcd.setCursor(0,0); //sets de cursor in de rij 0 kolom 0 lcd.print ("16 x 2 LCD MODULE"); / / afgedrukt 16 x 2 LCD MODULE lcd.setCursor(2,1); //sets de cursor op rij 1 kolom 2 lcd.print ("HELLO WORLD"); / / HELLO WORLD afdrukken
}
Arduino IDE biedt Liquid Crystal bibliotheek die omvat standaardprogramma. Zie de hieronder manifestatievideo waarin alle voorbeeld van Liquide kristalvertoning...