![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
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.
|
|
|
|
|
|
|
(permalink) |
|
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!.
|
|
|
|
|