Did you wire everything correct? Perhaps post a good picture of your wired board?
Also make sure that the axis in lines 71/75 of config.h (axis 4 and 5) are named X and Y (In my journey i came across some versions where they are named D and E)
Cheers/Kees