7 Segment Display Multiplexing help

Home Forums Microcontrollers PIC Microcontroller 7 Segment Display Multiplexing help

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7541
    uthmanjta
    Participant

    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

    #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…

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
>