Thread: Seven-segment displays

  1. #1
    Registered User
    Join Date
    Mar 2010

    Question Seven-segment displays

    Trying to figure out how to exactly set up a seven-segment display?

  2. #2
    Registered User
    Join Date
    Sep 2006
    I'd say google and see what you find, and consider that the bits of one unsigned char can handle the on and off state of all 7 segments, with one to spare. A simple mask and logical bit operator and you should be good to go.

    If you haven't already searched on the forum, I'd do that, as well.

    This is a thread (and my novelty program), that handles 7 segment displays. I wouldn't say it was serious, or what your teacher might be looking for, however. (No bit masking, but it shows how to print up a 7 segment display on a console window.)

    seven-segment devices - Software Design and Algorithms

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mutex and Shared Memory Segment Questions.
    By MadDog in forum Linux Programming
    Replies: 14
    Last Post: 06-20-2010, 04:04 AM
  2. execute a code in data segment...
    By ravindragjoshi in forum Windows Programming
    Replies: 1
    Last Post: 06-12-2007, 11:43 PM
  3. Declare an array in the BSS segment
    By ^xor in forum C Programming
    Replies: 1
    Last Post: 05-27-2005, 05:12 PM
  4. I Need To Know Some Things That I Can Put Into A Batch File
    By TheRealNapster in forum A Brief History of
    Replies: 1
    Last Post: 10-20-2003, 08:12 PM
  5. Dos commands hehe
    By Carp in forum A Brief History of
    Replies: 2
    Last Post: 01-17-2003, 02:51 PM