Blinking LED using assembly languague on Arduino

mcgyvr

Joined Oct 15, 2009
5,394
So you just want us to do your homework for you?
Thats BS...
Have you paid attention in class at all?
Have you actually tried to do this assignment already? If so please post the code you have completed so far.

I sent an email to your teacher letting them know about this forum post so they are aware of how you handle assignments..
 

danadak

Joined Mar 10, 2018
4,057
Basically you have an led attached to Arduino and you have to
use assembler tool and assembly instructions to write the pin in
the port the LED is attached to, to turn on/off the LED.

So you look at the instruction list and chip manual how to configure a pin to be
input or output, then what to write to its port register.

You have to decide how to connect LED and meet its current limits,
and to connect it from pin to ground or pin to Vdd (power supply for part).
Hint look at specifications for a pins current drive.

Regards, Dana.
 
Top