NIELIT O Level Exam

Which command used to print message on second line in LCD?

Which command used to print message on second line in LCD?

LCD में दूसरी लाइन पर मैसेज को प्रिंट करने के लिए किस कमांड का प्रयोग किया जाता है?

A. Icd.getcursor(0,0);

B. Icd.setcursor(0,0);

C. Icd.getcursor(0,1);

D. Icd.setcursor(0,1);




Correct Answer is :

D. Icd.setcursor(0,1);



Explanation
<p><span style="font-size: 14px;">lcd.setCursor(column, row)</span></p><ul><li><span style="letter-spacing: 0.01rem;">column: horizontal position (0–15 for 16 columns)</span></li><li><span style="font-size: 14px;">row: vertical position (0 for the first line, 1 for the second line)</span></li></ul><p><span style="font-size: 14px;">lcd.print("text"): prints the text starting from the cursor position.</span></p>
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad