Qus : Which command used to print message on second line in LCD?
QusLCD में दूसरी लाइन पर मैसेज को प्रिंट करने के लिए किस कमांड का प्रयोग किया जाता है?
A. Icd.getcursor(0,0); B. Icd.setcursor(0,0);
C. Icd.getcursor(0,1); D. Icd.setcursor(0,1);
Solution
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>