/* Sets the cursor to the specified row and column position.  */
void samsungvfdSetCursor(uint8_t row, uint8_t col)
/* Sets the cursor to the specified row and column position.  */
void samsungvfdSetCursor(uint8_t row, uint8_t col)
{
  int row_offsets[] = { 0x00, 0x40, 0x14, 0x54 };
  if ( row > samsungvfd_numlines ) 
  {
    row = samsungvfd_numlines-1;
  }
  samsungvfd_command(SAMSUNGVFD_SETDDRAMADDR | (col + row_offsets[row]));
}