Project/peripherals/c/lcd.c
/*******************************************************************************
* Function Name: lcd_set_pos
********************************************************************************
* Summary: Sets the boundries of the active portion of the screen.  When data
*          is written to the LCD, it will be written at addr of x0,y0.  
*
* Return:
*  Nothing
*******************************************************************************/
Function Name: lcd_set_pos
Summary: Sets the boundries of the active portion of the screen.  When data
is written to the LCD, it will be written at addr of x0,y0.

Nothing
Function Name : lcd_set_pos Summary : Sets the boundries of the active portion of the screen . When data is written to the LCD it will be written at addr of x0 y0 . Nothing
void lcd_set_pos(uint16_t x0,uint16_t x1,uint16_t y0,uint16_t y1)
{
  lcd_write_cmd_u8(LCD_CMD_SET_COLUMN_ADDR);
  lcd_write_data_u16(x0);
  lcd_write_data_u16(x1);
  lcd_write_cmd_u8(LCD_CMD_SET_PAGE_ADDR);
  lcd_write_data_u16(y0);
  lcd_write_data_u16(y1);
  lcd_write_cmd_u8(LCD_CMD_MEMORY_WRITE);
}
void lcd_set_pos ( uint16_t x0 , uint16_t x1 , uint16_t y0 , uint16_t y1 ) { lcd_write_cmd_u8 ( LCD_CMD_SET_COLUMN_ADDR ) ; lcd_write_data_u16 ( x0 ) ; lcd_write_data_u16 ( x1 ) ; lcd_write_cmd_u8 ( LCD_CMD_SET_PAGE_ADDR ) ; lcd_write_data_u16 ( y0 ) ; lcd_write_data_u16 ( y1 ) ; lcd_write_cmd_u8 ( LCD_CMD_MEMORY_WRITE ) ; }
Function Name: lcd_set_pos
Summary: Sets the boundries of the active portion of the screen.
Function Name : lcd_set_pos Summary : Sets the boundries of the active portion of the screen .
//LCD_WriteCMD(GRAMWR);