Hello guys!

I am using a Cr-10 printer, but seems like it cant find home. A week ago it was fine, now its started to fail when it has to find the home position.
When i hit the auto home, then the printer stops at edge of X axis and starting to going down, so i belive Y switch generating the error, do i have to replace the switch?
Also the print quality is very poor. The first few layer seems fine, but the rest is very bad. The inner lines are very weak, like a sponge or something.
Please can you help me out with a few idea? Thank you very much.