7 Segment Decoders with the use of PIC micro controller
Design and simulate counters sing PIC 16F84A
Create a C program in Micro environment that counts in a specified sequence.
Example Encode the given source :
void main()
{
TRISB = 0x00; //set port b as output
PORTA = 0x00; // turn off all the led’s
while(1) //infinite loop
{
PORTB = 0x3F;
Delay_ms(1000);
PORTB = 0x06;
Delay_ms(1000);
}
}
This is a seven segment Hours, Minutes and Seconds.