Why am i getting this error : Error /304

int LedPin = 8;

void setup() {
pinMode(LedPin, OUTPUT);
}

void loop() {
digitalWrite(LedPin, HİGH);
delay(1000);
digitalWrite(LedPin, LOW);
delay(1000);

why am i getting this error ?

sketch_oct09a:11:25: error: stray '\304' in program
digitalWrite(LedPin, HİGH);
^
sketch_oct09a:11:26: error: stray '\260' in program
digitalWrite(LedPin, HİGH);
^
C:\Users\KASA\AppData\Local\Temp\arduino_modified_sketch_804120\sketch_oct09a.ino: In function 'void loop()':
sketch_oct09a:11:24: error: 'H' was not declared in this scope
digitalWrite(LedPin, HİGH);
^
C:\Users\KASA\AppData\Local\Temp\arduino_modified_sketch_804120\sketch_oct09a.ino:11:24: note: suggested alternative: 'ZH'
digitalWrite(LedPin, HİGH);
^
ZH
sketch_oct09a:14:14: error: expected '}' at end of input
delay(1000);
^
exit status 1
stray '\304' in program

Because you cut and pasted the code (which is incomplete) from a website?

Please remember to use code tags when posting code

I wrote the code myself

Using an external editor?

no I do not use

Why do you think this is a bootloader issue?

Did you type directly into the IDE?

What is the letter after the H in HIGH? It appears to have a dot above a capital I - are you typing with a keyboard using a non-English character set?

Hex dump of your code shows some extra hidden characters:

00000000  76 6f 69 64 20 6c 6f 6f  70 28 29 20 7b 0a 64 69  |void loop() {.di|
00000010  67 69 74 61 6c 57 72 69  74 65 28 4c 65 64 50 69  |gitalWrite(LedPi|
00000020  6e 2c 20 48 c4 b0 47 48  29 3b 0a 64 65 6c 61 79  |n, H..GH);.delay|
00000030  28 31 30 30 30 29 3b 0a  64 69 67 69 74 61 6c 57  |(1000);.digitalW|
00000040  72 69 74 65 28 4c 65 64  50 69 6e 2c 20 4c 4f 57  |rite(LedPin, LOW|
00000050  29 3b 0a 64 65 6c 61 79  28 31 30 30 30 29 3b 0a  |);.delay(1000);.|
00000060

i didn't see i wrote that thank you

Your post was MOVED to its current location as it is more suitable.

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination

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