mailus
Full Member level 4

I am designing a counter for industrial purpose.the counter is incremented for every high in rb0 input.these functions of a counter are sucessfully tested.No problem in these codings.
now i want to add some menu options in this counter.i explained below. how to program with c language.
i use,
microc
pic16f877a
7-segment multiplexed 4 digits used
counter has 3 or 4 buttons
the menu is accessed by continuously pressing any two keys while power up...otherwise these setting only for view only
menu contains preset, alarm,mode of operation, multiplier, dividend.
-->preset sets the final count value and counter reaches final value means it produces logic high output
-->alarm used to set give a signal it nearly reached the final value
-->mode of operation used to specify what type of counter (UP/DOWN counter)
--> multiplier & dividend used to when the counter is incremented
how to add these facilities.
I don't want the complete code,i need just a idea. help me to learn
now i want to add some menu options in this counter.i explained below. how to program with c language.
i use,
microc
pic16f877a
7-segment multiplexed 4 digits used
counter has 3 or 4 buttons
the menu is accessed by continuously pressing any two keys while power up...otherwise these setting only for view only
menu contains preset, alarm,mode of operation, multiplier, dividend.
-->preset sets the final count value and counter reaches final value means it produces logic high output
-->alarm used to set give a signal it nearly reached the final value
-->mode of operation used to specify what type of counter (UP/DOWN counter)
--> multiplier & dividend used to when the counter is incremented
how to add these facilities.
I don't want the complete code,i need just a idea. help me to learn