the microcontroller will give output same as what ever the supply voltage is.....but if you want 2V output....then u can use a voltage divider configuration.....and if current requirements are high u can use an opamp as a buffer after voltage divider....