free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  1 [2]
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
aj1
Sun Nov 02 2008, 11:01AM
 User Offline
Registered Member #10501
Joined: Tue Sep 09 2008, 11:25AM

Posts: 9
Thanked 0 times in 0 posts
the program i uploded is working fine. its scaning keypad and displaying the pressed key on the lcd and seven segment.
i want to modify that program with a new function that will add two number.
for example, when you press 2 then 4 on the keypad. i should see 2 + 4 = 6 on the lcd screen.



aj
Back to top


Ajay
Mon Nov 03 2008, 11:22AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 753 times in 712 posts
CODE:
//set key count to 0
key = 0;
///whenever key is pressed do this
key = key + keypressed;
//then display it.
 


www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top



This post has been thanked 1 time
 aj1 
Go to page  1 [2]  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems