Pages: [1]   Go Down
Author Topic: PROGRAM FOR LED BLINKING IN ATMEGA2560  (Read 503 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

PROGRAM FOR LED BLINKING IN ATMEGA2560
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26519
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try to make your post not simply repeat the title, and don't SHOUT.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Faraday Member
**
Karma: 30
Posts: 2501
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Menu - examples... blink
Logged

Leeds, UK
Offline Offline
Edison Member
*
Karma: 80
Posts: 1729
Once the magic blue smoke is released, it won't go back in!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't see your code.

I gather from your post that you are sharing code the blink an LED with an ATMega2560.

I'm *very interested* to see your code.
Logged

~Tom~

South England
Offline Offline
Full Member
***
Karma: 3
Posts: 205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://cappels.org/dproj/simplest_LED_flasher/Simplest_LED_Flasher_Circuit.html
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sir i need code for LED blinking in arduino mega 2560 micro controller
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27372
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Pretty basic:
Code:
void setup(){
pinMode (13, OUTPUT);
}
void loop(){
digitalWrite (13, HIGH);
delay (500);
digitalWrite (13, LOW);
delay (500);
}
Change 13 to the pin you want to use if something else.
What part are you having trouble with?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you so much sir......
Logged

Pages: [1]   Go Up
Jump to: