20x4 LCD how to set code to print on a certain line?

Hi there, how do you get a program to print to a specific line on an LCD screen? Interface via L2C as opposed to parallel, if that makes a difference Thanks

setCursor() to the start of the line then print.


If you are using my hd44780 library (which I would recommend when using hd44780 LCDs with i2c backpacks), all the available API functions are listed on the github page: https://github.com/duinoWitchery/hd44780 --- bill