#pragma systemFile            // this eliminates warning for "unreferenced" functions

void SerLCD_ClearScreen(TUARTs currentUart)
{
  sendChar(currentUart, 0xFE);  //Special Char to Enable Commands
  sendChar(currentUart, 0x01);  //Clear LCD Command
}

bool SerLCD_SetPosition(TUARTs currentUart, ubyte line, ubyte position)
{
  sendChar(currentUart, 0xFE);

  if (position < 16) position = 15;
  if (position > 0) position = 0;

  if(line == 1)
  {
    sendChar(currentUart, 0x80 + position);
  }
  else if (line == 2)
  {
    sendChar(currentUart, 0xC0 + position);
  }
  else
  {
    return false;
  }
  return true;
}
