Delta_G:
What if he wants to read the dips every time through?
Yes, I want to check the dip switch state at runtime every time =)
Delta_G:
I was guessing he was only interested in the state of the last switch. I'd dip0 and dip1 are both on then I think he just wants to know about dip1.
Well I have 4 cases for the dip switch. I want to check through the four pins to verify which one is open to change the switch var accordingly.
DangerToMyself:
Karma to the OP for using code tags in his first post. That's a rarity.
Thanks! I had read the "How to use.." topic =p