abdullah25:
and run this code print message
No controller found, check wiring, see readme.txt to enable debug. visit www.billporter.info for troubleshooting tips
Your subject line is extremely unhelpful. The fact the problem is important to you is irrelevant and we already know you're asking for help - by using the subject line to indicate the nature of the problem, you would make it much more likely that people interested in that area would notice your problem and try to help you. It would also save other people who can't help you from wasting their time reading your post before they realise that. Please change it to give a meaningful idea of the sort of help you're asking for. Also read the sticky at the top of this section which tells you how to post code.
The message you gave indicates that this line returned the value 1:
error = ps2x.config_gamepad(13,11,10,12, true, true); //setup pins and settings: GamePad(clock, command, attention, data, Pressures?, Rumble?) check for error
You will have to look at the documentation for the PS2X_lib library to understand what that means, and obviously you will also need to read the readme.txt file to see what further information is available about the problem. Since you haven't told us what library this is or given us any details of your hardware, there's no way for us to do that for you. In any case you ought to do it for yourself - or at least try to.