How to solve stk500_recv()?

stk500_recv(): programmer is not responding


How do i solve this error??

I can't upload my code because of this error

Note: Code is compiled..

You solve it by making the right connections and selecting the right hardware.

But since you provide no details as of your hardware, it is not possible to guide you.