Go Down

Topic: PROGRAM FOR LED BLINKING IN ATMEGA2560 (Read 597 times) previous topic - next topic


AWOL

Try to make your post not simply repeat the title, and don't SHOUT.
"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.


Tom Carpenter

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.
~Tom~

BulletMagnet83

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

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

CrossRoads

Pretty basic:
Code: [Select]

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?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


Go Up