You are on page 1of 4

REPORTE

1.- Programa para mostrar en los 2 leds LED1 (PA0) y LED2 (PA2) el estado de los
dos push-buttons SW1 (PB2) y SW2 (PB3). Esto es encender cada led cuando su
push-buttons correspondiente este cerrado, oprimido, y apagar el led cuando el
push-button est abierto.

LED1 -> SW1

Si SW1 est cerrado encender LED1, si SW1 est abierto apagar LED1.

LED2 -> SW2

Si SW2 est cerrado encender LED2, si SW2 est abierto apagar LED2.
UNIVERSIDAD AUTONOMA DE NUEVO LEON

Facultad de Ingeniera Mecnica y Elctrica


LABORATORIO DE MICROCONTROLADORES

PRACTICA 5:
Entrada Salida de Datos en Paralelo.

MC. Jorge Eduardo Sosa Huerta

Alumno: Carlos Alberto Castillo Ramrez Matricula:


1548780

Alumno: Ana Luisa Hernndez Aguilar Matricula:


1548962

Alumno: Carlos Eligio Adriano Tobas Matricula:


1509251

Alumno: Ricardo De Jess Torres Snchez Matricula:


1528902

Hora: V2 Da: 4 (JUEVES) 411 / ECO12


Cd. Universitaria, San Nicols de los Garza 5 de NOVIEMBRE
de 2015

You might also like