Interfacing Of Adc To Microcontroller 8051

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Interfacing Of Adc To Microcontroller 8051 as PDF for free.

More details

  • Words: 135
  • Pages: 1
Experiment Title::Programming in ADC in ALP Name:: Hrishikesh Rambhau Endait Batch :: E-3 Roll No.:: 33 ======================================================= ; AN ALP PROGRAM FOR ADC

BACK:

HERE: HERE1:

ALE BIT OE BIT SC BIT EOC BIT ADDR_A BIT ADDR_B BIT ADDR_C BIT MYDATA EQU P1 ORG 0H MOV MYDATA,#0FFH SETB EOC CLR ALE CLR SC CLR OE CLR ADDR_C CLR ADDR_B SET ADDR_A ACALL DELAY SETB ALE ACALL DELAY SETB SC ACALL DELAY CLR ALE JB EOC,HERE JNB EOC, HERE1 SETB OE ACALL DELAY MOV A,MYDATA CLR OE MOV MYDATA , P2 SJMP BACK

; ; ; ; ; ; ; ;

MAKEP1 AN INPUT MAKE EOC AN INPUT CLEAR ALE CLEAR WR CLEAR RD C=0 B=0 A=1

; LATCH ADDRESS

; ; ; ; ;

wait until done wait until done ENABLE READ WAIT READ DATA

Related Documents