0
4.0kviews
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
98views

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

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.