RTC to 4Bit LCD

Hi MEM,

I got the lib sorted and the hello world. now im just trying to map out which cusror position is which on my lcd and its driving me crazy.

i found this from your reply on another thread:

void LiquidCrystal::setCursor(int col, int row)
{
int row_offsets[] = { 0x00, 0x40, 0x14, 0x54 };
command(0x80 | (col + row_offsets[row]));
}

except it wont compile. Has anyone mapped out a 4x16 lcd before?

The worse thing is everytime i try and think of a nogical next step to find the cursor position it puts it somewhere different????????????????????????????????????????????????????????????????