Skip to content

Seven Segment Display

BCD to Sven Segment Decoder

Truth Table

Writing to the Decoder

  • Loop through 0-9 and write the binary value to the PORT
    void display() {
        int i;
        for(i=0; i<10; i++) {
            PORTC = i;
            __delay_ms(1000);
        }
    }

Circuit Diagram

License

licensebuttons by-nc-sa

This work is licensed under GNU General Public License v3.0.