Problem with a simple code

void setup() {

// put your setup code here, to run once:

pinMode(13,OUTPUT);

}

void loop() {

// put your main code here, to run repeatedly:

digitalWrite(13,HIGH);

}
I am using a home made Arduino. This is the error for the output.
Expand marco 'OUTPUT'
The error for the high is Expand marco 'HIGH'
These are the compiler errors.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03
Error while burning the bootloader: Error: 2 UNKNOWN: chip erase error: uploading error: exit status 1
Thanks in advance.

@gamalmot, your topic has been moved to a more suitable location on the forum.

Those are not compiler error but upload errors.

Please provide a schematic of your homemade board.
What is the processor on your homemade board? Are you trying to upload via ICSP or via USB? Does the procesor have a boot loader?

Please spend some time reading How to get the best out of this forum; next apply what you've read / learned about code tags to the code in your post.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.