PC2), we can set a maximum value of 63 (2^6-1). The bits to be set are as shown below Since PORTC starts from PC0, if we write 63 to it, the pins set HIGH will be [PC5,4,3,2,1,0] . But we want to set [PC7,6,5,4,3,2] which is where our DAC is wired. Therefore, we use the left shift operator to shift 63 two places to the left, and then write it to PORTC. ## Reading using the ADC The ADC has a resolution of 10 bits, so the minimum value is 0, and maximum is (2^10-1 = 1023) . ]]> i i 1 63 1 << 2 i i 0 0.01