Could be your switches are floating, giving the bogus HIGH results. How are your switches wired up - do you have the necessary pull down resistors?
Could be your switches are floating, giving the bogus HIGH results. How are your switches wired up - do you have the necessary pull down resistors?