Pages: [1]   Go Down
Author Topic: My First Sketch.. Hi Everybody...  (Read 1052 times)
0 Members and 1 Guest are viewing this topic.
my own world
Offline Offline
Newbie
*
Karma: 0
Posts: 26
We are all geeks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Signatures are stupid!

Hyderabad , India
Offline Offline
God Member
*****
Karma: 6
Posts: 621
can't help not to think arduinaizing something !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Good Work smiley-wink
Quote
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 !  smiley-wink

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

And welcome here ! smiley


Logged

Georgia, US
Offline Offline
Sr. Member
****
Karma: 5
Posts: 371
Arduino makes my head hurt :(
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I obviously need a RGB LED... all the people making really cool stuff have them smiley-sad
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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
Logged

0
Offline Offline
Newbie
*
Karma: 2
Posts: 34
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello :smiley
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Jump to: