# My First Sketch.. Hi Everybody...

**URL:** <https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886>\
**Category:** Exhibition\
**Created:** [January 16, 2011, 5:25am UTC](https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886 "2011-01-16T05:25:42Z")\
**Posts on this page:** 8\
**Page:** 1

<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:** [January 16, 2011, 5:25am UTC](https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886/1 "2011-01-16T05:25:42Z")

</div>

First let me say I have absolutely no experience in programing, and very very little in electronics.  
That being said I thought I would give the Arduino a go...  
The amount of info out there on the net has been extremely helpful.  
I made a couple of the example project to get up and running...  
Then I decided to try this idea that is obviously revolutionary and nobody has ever thought about doing....

I got and RGB Led To Blink Red for 1 second Blink Green for one second and finally Blink Blue for one second all without Fading....

#########################  
void setup() {  
// put your setup code here, to run once:

}  
void loop() {  
// put your main code here, to run repeatedly:  
pinMode(5, OUTPUT);  
digitalWrite(5, HIGH);  
delay(1000);  
digitalWrite(5, LOW);  
delay(1000);  
pinMode(5, INPUT);  
pinMode(9, OUTPUT);  
digitalWrite(9, HIGH);  
delay(1000);  
digitalWrite(9, LOW);  
delay(1000);  
pinMode(9, INPUT);  
pinMode(10, OUTPUT);  
digitalWrite(10, HIGH);  
delay(1000);  
digitalWrite(10, LOW);  
delay(1000);  
pinMode(10, INPUT);

}

I am sure there is an easier way and probably a BETTER way, but hey,  
I thought of something, I built it, and, I wrote a code to make it work.

Not too bad for having and Arduino for less than 2 days..

Thanks everybody.  
Tim

---

<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:** [January 16, 2011, 5:39am UTC](https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886/2 "2011-01-16T05:39:24Z")

</div>

Good Work 😉

> Then I decided to try this idea that is obviously revolutionary and nobody has ever thought about doing....
> 
> I got and RGB Led To Blink Red for 1 second Blink Green for one second and finally Blink Blue for one second all without Fading....

It wasn't documented thats all ! 😉

and the next time you post just remember to include all the code in # button present in the tools box !

And welcome here ! 🙂

---

<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:** [January 16, 2011, 9:10pm UTC](https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886/3 "2011-01-16T21:10:19Z")

</div>

I obviously need a RGB LED... all the people making really cool stuff have them ☹

---

<div class="post-metadata">

**Author:** ![retrolefty](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@retrolefty](https://forum.arduino.cc/u/retrolefty)\
**Post date:** [January 16, 2011, 9:16pm UTC](https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886/4 "2011-01-16T21:16:43Z")

</div>

> I am sure there is an easier way and probably a BETTER way, but hey,  
> I thought of something, I built it, and, I wrote a code to make it work.

But my question would be did you use properly sized series current limiting resistors for the leds? If not you failed! ;D

Lefty

---

<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:** [January 17, 2011, 3:49am UTC](https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886/5 "2011-01-17T03:49:38Z")

</div>

That's the great thing about the Arduino, you can focus on learning the programming instead of creating the circuit. It is an awesome timesaver! IMO

---

<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:** [January 17, 2011, 1:10pm UTC](https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886/6 "2011-01-17T13:10:28Z")

</div>

Hello :🙂

---

<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:** [January 17, 2011, 1:11pm UTC](https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886/7 "2011-01-17T13:11:13Z")

</div>

Hi,

I am newbie here.Many things are available for exhibition.There are a wide range of display stands available on the market ranging from banner stands to pop up graphic displays, literature stands, retractable banners, vinyl banners and A Frames among others.

Thanks!  
[www.alldisplays.co.uk](http://www.alldisplays.co.uk)

---

<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:** [May 6, 2021, 6:44pm UTC](https://forum.arduino.cc/t/my-first-sketch-hi-everybody/8886/8 "2021-05-06T18:44:40Z")

</div>

Closed on May 6, 2021, 6:44pm UTC


