P. 1
Band As

Band As

|Views: 0|Likes:
Published by No Tomo

More info:

Published by: No Tomo on Sep 19, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

04/15/2012

pdf

text

original

SENSOR1 SENSOR2 SENSOR3 INICIO PARO BANDA BUZZ

EQU EQU EQU EQU EQU EQU EQU

P0.0 P0.1 P0.2 P0.3 P0.4 P2.0 P2.1

ORG 0100H MOV A, #00H MOV P1, A CLR BANDA ENCEND: JB INICIO, ENCEND JNB INICIO, INICIA INICIA: JB SENSOR1, INICIA JNB SENSOR1, AVANZA AVANZA: S2: SETB BANDA

JB SENSOR2, S2 JNB SENSOR2, ALTO5 JB SENSOR3, S3 JNB SENSOR3, CUENTA

S3:

CUENTA: CLR BANDA INC A CLR C CLR AC DA A MOV P1, A CJNE A, #50H, INICIA JMP ALARMA ALTO5: CLR BANDA MOV TMOD, #00000001 MOV R1, #064H INIC: MOV TH0, #03CH MOV TL0, #0B0H SETB TR0

INIC SETB BANDA JMP S3 ALARMA: SETB BUZZ MOV TMOD. #064H INICI2: MOV TH0. #00H JMP ENCEND ALTO: CLR BANDA JMP ENCEND END . #0B0H SETB TR0 ESP2: JNB TF0. ESP CLR TR0 CLR TF0 DJNZ R1.ESP: JNB TF0. #00000001 MOV R1. ESP2 CLR TR0 CLR TF0 DJNZ R1. INICI2 MOV A. #03CH MOV TL0.

 -     -.

-   -.

 -.

-  - -.

 -.

  -.

   - -.

   - - I-  I-  @  -       -    - - @     -    - - .

D-@  .

D-@  .

 -   -.

     .

.

     .

.

          .I9     .

-  -.

9.   .    @ .

   .I   -.I@. -    .

I@ .  .

   .I@     @ @                                  .

9  - @ 9    .

@    .

@    - -.

 @  D    .9     .I@.    @  -    .   .I   -.

I@ .  .

   .I@     @ @   9  - @ 9    .

@    .

@    - -.

I     .   .9-.

-    @  .

9-. -    .

-      -                           .

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->