Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

C code program for a security system using password

Status
Not open for further replies.

AhmedS

Newbie level 5
Joined
Aug 11, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
gaza strip
Activity points
1,345
hello

can u help me to write this code??? :cry:


It is desired to implement a security system using password. Write a C code
program required for this system satisfying the following features:
a) The LCD asks the user to enter the password as shown.
b) If the password is correct, then the LCD writes "Correct Password" and the
LED will be on (connect the LCD on PORT D).
c) The user enters the password through a Keypad connected to PORT A. Build a
function called Key_Read( ) to detect the key press.
d) If the password is wrong then the LCD writes "Wrong Password, Try again !",
and the LED will be Off (connect the LED on PORT C).
e) The user can clear the LCD via the (#) button but the sentence "Enter
Password: " will be written again.:?::!::?::!:
 

Los Frijoles

Full Member level 1
Joined
Oct 5, 2006
Messages
98
Helped
7
Reputation
14
Reaction score
3
Trophy points
1,288
Location
Provo, Utah, United States
Activity points
2,252
hello

Why aren't you able to do this? Much of this can be accomplished using built in libraries of most compilers. Also, you forgot to mention which controller you are using.
 

blueroomelectronics

Advanced Member level 5
Joined
Sep 17, 2006
Messages
1,686
Helped
179
Reputation
356
Reaction score
77
Trophy points
1,328
Location
Toronto, Canada
Activity points
8,700
Re: hello

Los Frijoles said:
Why aren't you able to do this? Much of this can be accomplished using built in libraries of most compilers. Also, you forgot to mention which controller you are using.
Cause the OP wants us to do his homework assignment. ;)
 

embeddedlover

Full Member level 5
Joined
Aug 10, 2007
Messages
279
Helped
46
Reputation
92
Reaction score
38
Trophy points
1,308
Activity points
3,155
Re: hello

No, he wanted to give members of this forum a small test
 

the_merovingian

Member level 1
Joined
Jul 25, 2009
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
UK
Activity points
1,558

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top