sample code for a DAC (Digital to Analog Conversion) for an R2R 3bit DAC design in embedded systems lecture