avrdude: stk500_getsync(): can't communicate with device: resp=0xfc

avrdude: stk500_getsync(): can't communicate with device: resp=0xfc
An error occurred while uploading the sketch

I have cleared the port COM4 and I have also reset the Arduino Uno board.
Still it shows the same error.
PLEASE HELP!!!

Anything connected to pins 0 or 1 or reset?

Thanks! I connected a sensor to 1. Resolved now.

Glad it's working.

Don't make multiple threads about one topic in the future, just noticed that you'd made both of those threads. If I'd written a multiple paragraph reply in each thread, I'd have been pissed :wink: