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

Rickey's World :: Discussion Forums :: Discuss and Learn :: 8051 Discussion Forum
 
<< Previous thread | Next thread >>
8051 microcontroller and 4 7segment display....pls help
Go to page   <<      
Moderators: Ajay Bhargav, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph, ExperimenterUK, DavesGarage
Author Post
Ajay Bhargav
Sat Jul 18 2009, 09:10AM
Rickey's World Admin

 User Offline

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

Posts: 7542
Thanked 1330 times in 1254 posts
sorry i might have missed this post..

i think you need to make a good framework for your project..
like divide into segments.
e.g.

1. Display
2. Count
3. Blink display

Display has to refresh every fixed interval.. say every 60-100 ms so refresh display may be added in timer routine.. and will be done automatically.
so make this part first..

after that is count.. which can be added to your while(1) loop. all you need to do is increment and update the variables thousand, hundred, ten and ones etc. and timer will handle the display.

then is blink.. this is tricky you can use another timer to maintain that blink part (just swap between real values and 0xFF (no display).

if you move step by step you will feel simple and easy to do.



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

Go to page   <<       

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