/* A task that simply scrolls a string from left to right, then back from the right to the left. This is done on the first line of the display.  */
static void prvLCDTaskLine1(void *pvParameters)
/* A task that simply scrolls a string from left to right, then back from the right to the left. This is done on the first line of the display.  */
static void prvLCDTaskLine1(void *pvParameters)
{
struct _LCD_Params *pxLCDParamaters = ( struct _LCD_Params * ) pvParameters;
unsigned short usPosition = 0U;
unsigned char ucDirection = lcdRIGHT_TO_LEFT;
	for( ;; )
	{
		vTaskDelay( pxLCDParamaters->Speed / portTICK_RATE_MS );
		prvDisplayNextString( pxLCDParamaters->Line, &( pxLCDParamaters->ptr_str[ usPosition ] ) );
		prvScrollString( &ucDirection, &usPosition, strlen( pxLCDParamaters->ptr_str ) );
	}
}