0% found this document useful (0 votes)
120 views1 page

Instructs

The document describes an assignment to write an Arduino assembly program that blinks an LED in Morse code for the number 1479, with 5 seconds of delay between repeats. It provides Morse code as the communication medium and specifies using only assembly language without Arduino IDE facilities. Extra credit is available for translating the assembly to machine code binary.

Uploaded by

api-547507672
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
120 views1 page

Instructs

The document describes an assignment to write an Arduino assembly program that blinks an LED in Morse code for the number 1479, with 5 seconds of delay between repeats. It provides Morse code as the communication medium and specifies using only assembly language without Arduino IDE facilities. Extra credit is available for translating the assembly to machine code binary.

Uploaded by

api-547507672
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CS150 - Computer Organization and Architecture

Build a program in assembly language for the Arduino ATmega328P that uses the LED
marked ”L” to convey a message in Morse code. When hosted on the Arduino, your
program must run in a continuous loop that blinks the Morse code sequence
corresponding to 1479 and then delay with the LED off for 5 Morse code units. The
length of a Morse code unit shall be 1 second in your program. For instance, for the
sequence 8071, your program must run in a continuous loop that blinks the Morse code
sequence for ”8071”, delays with the LED off for 5 Morse code units, and then goes back to
the beginning of the loop.
You may not use the inline assembly facilities built into the Arduino IDE to complete this
assignment.
A reference card depicting the Morse code alphabet is contained on the next page of this
assignment.
Extra Credit
If you would like to earn extra credit for this course, translate your finished assembly
language program into machine code. Your machine code program must be in binary.

You might also like