Quote Originally Posted by rsocor01 View Post
Joseph,

Try to write the program by yourself and then if you have questions post your code and we will try to help you. I think that you should try to do it first. There are many books and tutorials out there. The following book, I use it as a guide and it has a few examples with LEDs very similar to what you want.

http://www.amazon.com/PIC-Basic-Proj...0150464&sr=8-2

I tried, but i just can't work it out

@sayzer

WOW thanks for the sample code it looks a bit clearer for me