Minor fixes to examples

Minor fixes to brighness_control.cpp