DSGM_GetBrightness & fade in and out functions