Professional Documents
Culture Documents
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.
Si SW1 est cerrado encender LED1, si SW1 est abierto apagar LED1.
Si SW2 est cerrado encender LED2, si SW2 est abierto apagar LED2.
UNIVERSIDAD AUTONOMA DE NUEVO LEON
PRACTICA 5:
Entrada Salida de Datos en Paralelo.