                     BARS_BOTTOM - BARS_HEIGHT,
                     BARS_WIDTH - BARS_BORDER * 2,
                     BARS_HEIGHT - channel[thisChannel].currentPercentage * HEIGHT_FACTOR,
-                    BACK_COLOR );
+                    TFT_BACK_COLOR );
 /*
       //high water mark
       tft.drawFastHLine( thisChannel * BARS_WIDTH + BARS_BORDER,

#define TEXT_COLOR    ILI9341_YELLOW
#define BACK_COLOR    ILI9341_BLACK

void tftTask( void * pvParameters )
{
  while (1)
  {
    tft.setTextColor( TEXT_COLOR , BACK_COLOR );
    tft.setCursor( 15, 0 );
    tft.setTextSize( 2 );

    struct tm timeinfo;
    if ( !getLocalTime( &timeinfo ) )
    {
      tft.println( "Failed to obtain time" );
    }
    else
    {
      tft.println( asctime( &timeinfo ) );
    }

#define BARS_BOTTOM    170
#define BARS_HEIGHT    150
#define BARS_BORDER    10
#define BARS_WIDTH     ILI9341_TFTHEIGHT / 5
#define HEIGHT_FACTOR  BARS_HEIGHT / 100.0

    for ( byte thisChannel = 0; thisChannel < NUMBER_OF_CHANNELS; thisChannel++ )
    {
      //convert from String to RGB color
      //https://stackoverflow.com/questions/2342114/extracting-rgb-color-components-from-integer-value/2342149#2342149
      int r, g, b;
      int color = strtol( &channel[thisChannel].color[1], NULL, 16 );
      r = ( color & 0xFF0000 ) >> 16; // Filter the 'red' bits from color. Then shift right by 16 bits.
      g = ( color & 0x00FF00 ) >> 8;  // Filter the 'green' bits from color. Then shift right by 8 bits.
      b = ( color & 0x0000FF );       // Filter the 'blue' bits from color. No shift needed.


    tft.setCursor( 0, BARS_BOTTOM + 20 );
    tft.setTextSize( 2 );
    tft.setTextColor( TFT_TEMP_COLOR , TFT_BACK_COLOR );

    if ( numberOfFoundSensors )
    {
      for ( byte thisSensor = 1; thisSensor <= numberOfFoundSensors; thisSensor++ )
      {
        tft.print( " " + String( sensor[thisSensor].temp / 16.0 ) + (char)247 + "C " );
      }
    }

    tft.setCursor( 15, BARS_BOTTOM + 40 );
    tft.setTextColor( TFT_DATE_COLOR , TFT_BACK_COLOR );

    struct tm timeinfo;
    if ( !getLocalTime( &timeinfo ) )
    {
      tft.println( "Failed to obtain time" );
    }
    else
    {
      tft.println( asctime( &timeinfo ) );
    }
    vTaskDelay( 500 / portTICK_PERIOD_MS );
  }
}
