Advertisement

How to print a line once on LCD display when the Arduino Uno board is powered on?

PRINT A LINE ONCE ON LCD ARDUINO 


    





                This is so simple, you can change it in the the program code of the Arduino in the Arduino IDE.

                There are two sections in the program normally. void setup() and void loop().

                The name itself says that in setup, what ever code we written will run once when the Arduino board is powered ON and the loop function denotes that what what ever code we written will loop or cycle from start to end of the code in the void loop.


                So, if you print a line once on LCD display when the Arduino Uno board is powered on?

                 you have to write the code in the void setup function of the program ....


void setup(){

pint("Arduino is powered ON");

}

void loop(){

#write your other parts of the code here 

}

Post a Comment

0 Comments