avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xea

Which Arduino board are you using?