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 ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Appendix B: Assembly Language Program for <strong>Water</strong> <strong>Monitoring</strong> Systemcpu "8051.tbl"incl "8051.inc"org 0mov tmod, #00100001Bmov scon,#01010010Bmov th1,#253setb tr1clr p2.1;outputstart:call delaysetb p2.0nopclr p2.0nopnopnopsetb p2.0; setting star conversion from ADCjb p3.2,$mov a,p1; get data from ADCcjne a,#19h,xsame19jmp cm25; compare data from ADC with 19H44