7 Segment Decoders with the use of PIC micro controller

in #micro7 years ago

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.
DA247894-1E85-465A-BF8B-91DFB4AF8EA9.png

Coin Marketplace

STEEM 0.15
TRX 0.17
JST 0.028
BTC 68748.32
ETH 2464.48
USDT 1.00
SBD 2.36