12.Write and execute C program to generate square wave using on chip DAC.