End stops show triggered but not stopping Stepper

Give me an hour. I have to pick up my niece and nephew.

 

THUMBS up. it seems to work.

Down side is homing is going the wrong direction.

Using the controls it moves the right direction.

But if I send to home. X moves away to from the switches.

If I try to change the direction of homing in the firmware.

X stops working again. So I changed it back.

 

Right is X+ it homes to the left. Away is Y+ it homes towards you.

Every thing seems to be working. Thank you very much.

Now I need to figure our code wise. to fine tune the squaring. I have it as close as i can mechanically