design and construction of micro-controller based function generator using xr2206