ممكن مساعده اذا حد بيعرف لـ برنامج mikroC

السلام عليكم …
ممكن مساعده اذا حد بيعرف لـ برنامج mikroC

هذا السوال … وبلييز ضروري …

Get all 8 PORTB LED’s to count in binary at 1 second intervals. RB0 is the LSB and RB7 is the MSB. Use a loop to do the counting. Once the binary number has reached its maximum it should reset to zero and starting counting again in a continuous loop.