Electronic Projects, forums and more.

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


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

Reply
 
Thread Tools Display Modes
Old 26th April 2004, 05:30 PM   (permalink)
Default countdown timer code

I'm new to electronics and currently using Atmel 89c51 for my project.
Part of the project is a countdown timer with 4 units of 7segment display.
Once the timer reaches zero, it will trigger a dc motor.
Can some one provide me some idea on how to write the timer part?
Perheps can show me a sample code with only a digit of 7segment as a countdown timer for my reference...in addition, a button is added to increment the timer digit...
I referred to 8052.com and found a useful tutorial there providing me on how to trigger the motor once the timer reaches zero.
I'm stuck on the timer display part...

thanks
ah_Hui is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 09:25 AM.


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