Reply To: 7 sgment Multiplexing help

Home Forums Microcontrollers PIC Microcontroller 7 Segment Display Multiplexing help Reply To: 7 sgment Multiplexing help

#7546

Ligo George
Keymaster

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)

It is very simple… just apply the logic…

string(7) "9898001"