# Arduino Editor Issue

**URL:** <https://forum.arduino.cc/t/arduino-editor-issue/910245>\
**Category:** Cloud Chrome App\
**Created:** [September 29, 2021, 8:49pm UTC](https://forum.arduino.cc/t/arduino-editor-issue/910245 "2021-09-29T20:49:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![2024trevorames](https://avatars.discourse-cdn.com/v4/letter/2/c67d28/32.png) [@2024trevorames](https://forum.arduino.cc/u/2024trevorames)\
**Post date:** [September 29, 2021, 8:49pm UTC](https://forum.arduino.cc/t/arduino-editor-issue/910245/1 "2021-09-29T20:49:05Z")

</div>

![Screenshot 2021-09-29 4.38.26 PM](https://europe1.discourse-cdn.com/arduino/original/4X/6/9/0/690db956a2566411a91759885fb8a152da25a29a.png)

I am doing an experiment where is can see how fast I can get an LED to blink to see if I can see it blinking at high speeds.

I decided to set up my code using one of the provided example sketch's AKA "Blink" and you would think that they would be tested to work but it gives me the Error as shown in the Picture.

So what do you think is the issue???

By the way this is my Code. (Located Below)

/\*  
Blink

Turns an LED on for one second, then off for one second, repeatedly.

Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO  
it is attached to digital pin 13, on MKR1000 on pin 6. LED\_BUILTIN is set to  
the correct LED pin independent of which board is used.  
If you want to know what pin the on-board LED is connected to on your Arduino  
model, check the Technical Specs of your board at:  
[https://www.arduino.cc/en/Main/Products](https://www.arduino.cc/en/Main/Products)

modified 8 May 2014  
by Scott Fitzgerald  
modified 2 Sep 2016  
by Arturo Guadalupi  
modified 8 Sep 2016  
by Colby Newman

This example code is in the public domain.

[https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink](https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink)  
\*/

// the setup function runs once when you press reset or power the board  
void setup() {  
// initialize digital pin LED\_BUILTIN as an output.  
pinMode(LED\_BUILTIN, OUTPUT);  
}

// the loop function runs over and over again forever  
void loop() {  
digitalWrite(LED\_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)  
delay(1000); // wait for a second  
digitalWrite(LED\_BUILTIN, LOW); // turn the LED off by making the voltage LOW  
delay(1000); // wait for a second  
}

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [September 29, 2021, 8:56pm UTC](https://forum.arduino.cc/t/arduino-editor-issue/910245/2 "2021-09-29T20:56:01Z")

</div>

> [@2024trevorames](#):
>
> So what do you think is the issue???

The first one is that you did not post a complete sketch, but it looks very much as though you have 2 setup() functions in your sketch

---

<div class="post-metadata">

**Author:** ![johnwasser](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/johnwasser/32/214270_2.png) [@johnwasser](https://forum.arduino.cc/u/johnwasser)\
**Post date:** [September 29, 2021, 9:50pm UTC](https://forum.arduino.cc/t/arduino-editor-issue/910245/3 "2021-09-29T21:50:10Z")

</div>

> [@2024trevorames](#):
>
> So what do you think is the issue???

Redefinition of 'void setup()'.

---

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [September 30, 2021, 2:51am UTC](https://forum.arduino.cc/t/arduino-editor-issue/910245/4 "2021-09-30T02:51:31Z")

</div>

Hi, @2024trevorames  
Welcome to the forum.  
To add code please click this link;

> [@How to get the best out of this forum](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966#posting-code):
>
> See also [FAQ - Arduino Forum](https://forum.arduino.cc/faq) for general rules on forum behaviour and etiquette. Hello, Welcome to the Arduino Forum. This guide explains how to get the best out of this forum. Please read and follow the instructions below. Being new here you might think this is having rules for the sake of rules, but that is not the case. If you don’t follow the guidelines all that happens is there is a long exchange of posts while we try to get you to tell us what we need in order to help you, which is fru…

Thanks.. Tom... 😃 👍 ☕ 🇦🇺

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 29, 2022, 2:52am UTC](https://forum.arduino.cc/t/arduino-editor-issue/910245/5 "2022-03-29T02:52:29Z")

</div>

Closed on March 29, 2022, 2:52am UTC

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