Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers

Notices


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 4th February 2008, 11:46 AM   (permalink (permalink))
Default up/down count to 7-segment

I have input pins on a 8051 based micro, that test whether to increment or decrement from a value displayed on 7-segements . After I've decided that the counter should be incremented for example, I'm wondering what's the best way to determine what digit I'm currrently on and display the next.

I'm thinking a separate variable which I increment and decrement which I can test to see what number I'm on, but I'd like to know if there's better ideas before i start, since these counter projects are common.

Last edited by colin mac; 4th February 2008 at 12:22 PM.
colin mac is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Latest
PIC PWM outputs? Andy1845c Micro Controllers 33 30th November 2007 03:06 AM
driving multiplexed 7 segment display mathur2000 Micro Controllers 7 24th June 2007 10:07 PM
Help on Circuit kogula14 Micro Controllers 5 16th March 2007 03:12 AM
picbasic pro 'COUNT' command help chyun84 Micro Controllers 8 29th November 2006 05:58 AM
newbie needs help with presetable count down timer 7 segment zenton Electronic Projects Design/Ideas/Reviews 3 6th September 2004 04:16 AM



All times are GMT. The time now is 04:00 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.