Autobed Levelling with TMC2100

I have capacative and micro switch as my ABL triggers. I am sure we can help.