updated to reflect protocol changes in the board code - use of the global brigthness for automatic brightness control