Introduction: Controlling 8 Leds Via PIC 16f877a (circuit Diagram on Proteus)

Hello, i would like to illustrate my first instructable

my first Embedded System course task was to Control 8 leds via PIC 16f877a (circuit Diagram)

by using a push button so that on the first push the first branche containing first 4 leds will be turned On

on the next push the second branche containing the other 4 leds will be turned On

,on the next push all the 8 leds will be On

and finally on the last push all the 8 leds will be off (the code will be included)

Step 1: