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.26
TRX 0.25
JST 0.040
BTC 92903.81
ETH 3331.70
USDT 1.00
SBD 3.29