pic16f877a how to solve it ????

Status
Not open for further replies.

tasneemyusuf

Newbie level 1
Joined
Jun 12, 2017
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
11
write a program which implements a software 4 to 2 priority Encoder.this encoder has four inputs and two outputs ,if the inputs id B'0001' the output is B'00' and if the input is B'0010' or B'0011' the output is B'01' and so on .build a circut using pic16f877a , 2 leds and one 7 segment display for output and four SPDT switches for inputs.
 

Hi,

Start with reading datasheets.
Then draw a schematic
Then draw a flow chart
Then write your software

Klaus
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…