/* Writes Value to LCD CGRAM. Pointers internal to the LCD are also updated.  */
void halLcdDrawTextBlock(unsigned int Value)
/* Writes Value to LCD CGRAM. Pointers internal to the LCD are also updated.  */
void halLcdDrawTextBlock(unsigned int Value)
{
  int temp;
  Draw_Block_Value_Macro[4] = Value >> 8;
  Draw_Block_Value_Macro[5] = Value & 0xFF;
  LCD_MEM[ LcdTableAddress ] = Value;
  halLcdSendCommand(Draw_Block_Value_Macro);
  LcdAddress++;
  temp = LcdAddress >> 5;
  temp = temp + (temp << 4);
  LcdTableAddress = temp + (LcdAddress & 0x1F);
  if ((LcdAddress & 0x1F) > 0x10)
    halLcdSetAddress( (LcdAddress & 0xFFE0) + 0x20 );
  if (LcdAddress >= LCD_Size)
    halLcdSetAddress( 0 );
}