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 15th February 2006, 06:57 AM   (permalink)
Default 7 segment display using pic16f628

hi frnz
m new to pic .m working on pic 16f628a .i wan to design a simple counter from 0-99 using two seven segment displays and a key.when a key is pressed the count should increase by one. can anybody help me out with the code.
neelam29 is offline   Reply With Quote
Old 15th February 2006, 08:19 AM   (permalink)
Default Re: 7 segment display using pic16f628

Quote:
Originally Posted by neelam29
hi frnz
m new to pic .m working on pic 16f628a .i wan to design a simple counter from 0-99 using two seven segment displays and a key.when a key is pressed the count should increase by one. can anybody help me out with the code.
Check my tutorials, which contain everything you need to do it - although you will have to use bits from various tutorials.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 15th February 2006, 01:16 PM   (permalink)
Default

thanks but that was bit harder for me,cause m a new comer in feild of programming ,ur tutorial contains this type of programming using interrupts.i tried doing in a better and simpler way without using interrupts.
neelam29 is offline   Reply With Quote
Old 15th February 2006, 01:42 PM   (permalink)
Default

The interrupts make it easier! - it makes the multiplexing completely transparent to your main program. If you don't want to use interrupts you have the problem of maintaining reasonably accurate multiplexing whilst checking the keys, de-bouncing, and everything else!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 06:16 AM.


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