Go Down

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


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.



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


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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131