slide1 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Comparador de iluminación PowerPoint Presentation
Download Presentation
Comparador de iluminación

Loading in 2 Seconds...

play fullscreen
1 / 14

Comparador de iluminación - PowerPoint PPT Presentation


  • 107 Views
  • Uploaded on

Comparador de iluminación. Potencia Iluminación. Sensor de puerta. Generador Alarma. CODIGO BINARIO - HEXADECIMAL. ENMASCARAMIENTO DE BITS. Conector DB25S. Salidas. Salidas. Entradas. Datos de entrada:. D5 D4 D3 D2 D1 X X X. 74HC244. Programar de salida.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Comparador de iluminación' - maura


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
slide1

Comparador de

iluminación

Potencia

Iluminación

Sensor de

puerta

Generador

Alarma

slide4

Conector DB25S

Salidas

Salidas

Entradas

slide5

Datos de entrada:

D5 D4 D3 D2 D1 X X X

slide10

#include <dos.h>

#include <conio.h>

#include <stdio.h>

void main (void)

{

clrscr();

printf("Programa corriendo \n\rPresione una tecla para salir"); //Imprime outp(888,0); //Limpia el puerto

while (!kbhit())

{

outp(888,FF); //Prende Todas las salidas

gotoxy(5,10); //Posiciona el cursos de la pantalla

printf("Led ON "); //Escribe texto

delay(1000); //Retardo

outp(888,0); //Apaga el led.

gotoxy(5,10);

printf("Led OFF");

delay(1000);

}

}

slide12

#include <dos.h>

#include <conio.h>

#include <stdio.h>

unsigned char puerto;

void main (void)

{

clrscr();

printf("Programa corriendo \n\rPresione cualquier tecla para salir");

outp(888,0); //Limpia el puerto

while (!kbhit())

{

puerto=inp(889); //Lee Puerto

gotoxy(5,5);

printf("El valor del puerto de estado es: %X",puerto); //Imprime

slide13

if((puerto&0x10)==0x10)

{

gotoxy(5,10);

printf("Comparador en 1");

outp(888,0xff); //Prende el leds

delay(100);

outp(888,0); //Apaga el leds.

delay(100);

}

else

{

gotoxy(5,10);

printf("Comparador en 0");

}

}

}

slide14

-

Out

In

+

555

Osc

Out

In