Quote Originally Posted by osceola View Post
Decimal 4 in Binary is 100.Sorry but dont understand,you said nothing about decimal to bynari conversions
You are correct on bothe accounts. It is 100 and I did not say anything about conversions. But you put LEDS = 4 in your code and I have asked you twice about a other line you wrote and you have not answered.

And you have not shown any attempts using the button on your demo board as an input.

You said you wanted to learn. Have you been studying the PICs data sheet and the Pic Basic manual? It looks to me like you have not.

So what do you really want? Do you want to learn or have someone write your code for you?