3. If a switch SW is connected to port pin PO.O. Write a program to do the following
a) When SW=0 the DAC output gives a triangular waveform.
b) When SW-1 the DAC output gives a staircase waveform.
Answers
Answered by
1
Explanation:
a) We write an 8085 assembly language program for the generation of triangular waveform using the Digital to Analog Converter (DAC) interface. The display of the waveform is seen on the CRO.
b) CRO displays the voltage signal as a function of time on its screen. The Time period of that periodic voltage signal is constant, but we can vary the number of divisions that cover one complete cycle of the voltage signal in the horizontal direction by varying the time/division knob on the CRO panel.
Similar questions