Can any one pls help me to modify the code “Multiplexing of Seven Segment Displays with PIC Microcontroller” with three buttons to display a 3 digit number to display stable. button are UP, DOWN, SET/STORE. PLs help me.
thanks
uthman
Simply write a function to write 3 digit number to multiplexed display…
as given in the tutorial…
..
Let ‘i’ be an integer and display() is the function to write to display..
if(switch 1 pressed)
i++;
if(switch 2 pressed)
i–;
if(switch 3 pressed)
save i;
display(i)