# Problem
Next, alter the code to read the three potentiometers from ADC1 channels 1, 2, and 3 and use the most significant 8 bits (or sample in 8-bit resolution) to set the Red, Green and Blue brightness levels. Verify that you can adjust the red, green and blue brightness to make color mixes. Refer to Lab 9 to setup ADC1 and select the channels.
Note: you will need to wait for each conversion to complete before reading the value and moving to the next channel. Also note that if you read the values as 12 bits, you will need to shift the 8 MSBs to the right in order to match the 8-bit resolution of the BRT variables. Alternately, you can configure the ADC to operate at 8-bit resolution (consult the ADC control register for details on how to do this).
# Process
...
# Answer