I\'ve tried to initialize double array with unsigned char values as below.
unsigned char maxValue_Bch, maxValue_Gch, maxValue_Rch; // store some results in ma