Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
21Activity
0 of .
Results for:
No results containing your search query
P. 1
PRACTICA5

PRACTICA5

Ratings:
(0)
|Views: 401|Likes:
Published by dancercris

More info:

Categories:Topics, Art & Design
Published by: dancercris on May 03, 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

12/04/2013

pdf

text

original

 
UNIVERSIDAD POLITÉCNICASALESIANAFacultad de ingenieríasINGENIERIA ELECTRONICA
practica 5
NOMBRES:
y
 
ANGEL ACHIG
y
 
CRISTIAN GUALOTUÑA
y
 
CRISTOBAL VILLAGOMEZ
FECHA DE ENTREGA:04-03-2010
 
 
DATASHEETS
PIC16F877
A
L
C
D 2x
16
 
 
DESARROLLO
P
C
T
IC
OOBJET
IV
O:
Utilizar el micro controlador con teclado matricial y PS2
1.
EJER
CICI
O
1
 
P
ROBLEMA:
Visualizar en un display LCD el valor ingresado por un teclado matricial.
ALGOR
I
TMO:Entradas:
El puerto C que se configurara para el teclado matricial.
P
rocesos:
Configuro el LCD en el puerto BLeo la posición del teclado
Salidas:
La salida del puerto B hacia el LCD.
D
I
GO
program teclado1dim a as bytedim b as string[6]main:lcd_config(portb,7,6,5,4,portb,0,1,2)lcd_cmd(lcd_cursor_off)keypad_init(portc)while truea=keypad_readwordtostr(a,b)lcd_out(1,1,b)wendend.

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)//-->