fixed test mode.
limit switch working with analog card.
added test analog limit switch mode.