Hi,
1) The documentations for the keypad routine says that myVar should be a BYTE, you have it declared as a WORD. Don't think it matters but ....
2) There's no RETURN at the end of the Check subroutine.
3) The routine has some sort of AutoRepeat feature, I don't know if that is perhaps messing with you - I've never used the routine myself.
4) The filename for the INCLUDE file says Keypad1, have you modifed it in any way?
5) Do you have your LED's wired as in the schematic? Ie PortA.1 = 1 does actually turn on the LED?

Which device?

/Henrik.