Square Waveform
Square Waveform
Square Waveform
No:3
Aim:
To perform 8051 based DAC Interface experiment for generating 1 KHZ Square waveform.
Program:
MOV A, #00
MOV @DPTR, A
LCALL DELAY
MOV A, #FF
MOVX @DPTR, A
LCALL DELAY
LJMP START
RET
Result:
Thus we can generate square waveform using 8051 based DAC interface.