Arduino LCD Code

Arduino-LCD-Code-Counter-Tutorial
Arduino LCD Code





Arduino lcd shields is not needed anymore we can directly connect lcd display to arduino without wiring.Its very simple and tricky.I will show the proof.

A simple arduino lcd counter with no wiring required is shown in this figure.The program is made so that no LCD shields are used in this project which makes your projects more easier.


We can directly place 16*2 normal lcd module to the arduino uno slot.


The placement of  LCD module is shown below

Arduino LCD Code
Arduino LCD Code






 #include <LiquidCrystal.h>

unsigned counter=0;
// Creates an LCD object. Parameters: (rs, enable, d4, d5, d6, d7)
LiquidCrystal lcd(11, 9, 5, 4, 3, 2);
void setup()
{
   
   
   
    pinMode(13,OUTPUT);
    digitalWrite(13,HIGH);
   
   
    pinMode(0,OUTPUT);
    pinMode(1,OUTPUT);
     digitalWrite(0,LOW);
    digitalWrite(1,HIGH);
   
     pinMode(10,OUTPUT);
    digitalWrite(10,LOW);
   
   
   
    pinMode(12,OUTPUT);
   
   
  
   
   
lcd.begin(16, 2);
lcd.clear();

}v

V

For Amazing & Simple Electronic Projects 



{

lcd.print("  COUNTER : ");
    
        }
    lcd
   
     }




Previous Post Next Post