10.07.2015 Views

CHAPTER 3 METHODOLOGY 3.1 Overview The Water Monitoring ...

CHAPTER 3 METHODOLOGY 3.1 Overview The Water Monitoring ...

CHAPTER 3 METHODOLOGY 3.1 Overview The Water Monitoring ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A: Assembly Language Program for ADC Data Conversioncpu "8051.tbl"incl "8051.inc"org 50hvolt: dfs 1org 0mov tmod, #00100001Bmov scon,#01010010Bmov th1,#253setb tr1start:clr p2.1; clear port outputsetb p2.0nopclr p2.0nopnopnopsetb p2.0; setting star conversion from ADCjb p3.2,$mov a,p1;get data from ADC42

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!