Question 1. What is the output voltage Vout when PA2 is high, PA1 is high, and PAO is low? Assume VoH is3.3V and VoL = 0V. In terms of a DAC define resolution, range, precision, monotonic. How do you extend the 4-bit binary-weighted DAC to 6-bits? . Design a 6-bit R-2R DAC. Write C code that increments a variable, but forces it to a range of 0 to 31 (0,1,2,3, ... 29,30,31,0,1,2,..)

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6