7 Segment Decoders with the use of PIC micro controller

in #micro6 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.19
TRX 0.14
JST 0.030
BTC 59479.71
ETH 3174.48
USDT 1.00
SBD 2.44