0
3.4kviews
With a neat circuit representation illustrate interfacing of typical 8-bit DAC to 8051 architecture based processor. Using DAC write a program in 8051 assembly to generate a triangular wave.
1 Answer
0
97views

DAC interfaced with microcontroller 8051

       SW             EQU P0.0
       ORG            0000H
       MOV            A, #00
       UP: MOV        P1,A 
       INC            A
       CJNE           A, #255, UP 
       JUMP: MOV      P1, A
       DEC            A 
       CJNE           A, #00, JUMP
Please log in to add an answer.